forked from russianbb/Alfred4chalice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (43 loc) · 1.08 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: "3"
services:
redis:
image: redis:4.0.1-alpine
volumes:
- redis-data:/data
ports:
- "6379"
dynamodb-test:
build:
context: .
dockerfile: docker/dynamodb/Dockerfile
command: -jar DynamoDBLocal.jar --inMemory
ports:
- "8002:8000"
app:
build:
context: .
dockerfile: docker/app/Dockerfile
volumes:
- ./:/var/task
environment: &environment
- ALFRED_EMAIL_VERIFY_TOKEN=${ALFRED_EMAIL_VERIFY_TOKEN}
- ALFRED_PASSWORD_SALT=esquilo
- ALFRED_REDIS_HOST=redis
- AWS_ACCESS_KEY_ID=aws_access_key
- AWS_DEFAULT_REGION=us-east-1
- AWS_SECRET_ACCESS_KEY=aws_access_secret
- BUCKET_S3=fake_bucket
- DEFAULT_STORAGE=dummy
- DYNAMODB_HOST=http://dynamodb-test:8000
- DYNAMODB_PREFIX=alfred
- FERNET_CRYPT_KEY=ank2C0xNzXJn6rfdJ3nS5zMkClU0I34tuQMXpVmX6yM=
- JWT_ALGORITHM=HS256
- JWT_EXP_DELTA_SECONDS=604800
- JWT_SECRET=fake_secret
ports:
- "8108:8108"
depends_on:
- "redis"
- "dynamodb-test"
volumes:
redis-data: