-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
43 lines (42 loc) · 1.12 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
version: "3"
services:
backend:
environment:
- ENGAGE_TEST=False
- ENGAGE_DEBUG=True
- DJANGO_SECRET_KEY=examplesecretkeydonotuseinprod
- RECAPTCHAKEY=some_string
- POSTGRES_USER=engageuser
- POSTGRES_PASSWORD=engageuserpassword
- POSTGRES_DB=counciltag
- POSTGRES_HOSTNAME=postgres
- POSTGRES_PORT=5432
- REDIS_PORT=6379
- REDIS_HOSTNAME=redis
- AWS_ACCESS_KEY_ID=AKIAJHGBRQ5ZX6IUSX4A
- AWS_SECRET_ACCESS_KEY=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
- AWS_REGION=us-east-1
build: .
image: hack4laengage/engage_backend_service:latest
volumes:
- .:/engage_backend_service
working_dir: /engage_backend_service
entrypoint: /engage_backend_service/scripts/rundev.sh
ports:
- "8000:8000"
depends_on:
- postgres
- redis
links:
- postgres
- redis
postgres:
image: postgres:11-alpine
environment:
- POSTGRES_USER=engageuser
- POSTGRES_PASSWORD=engageuserpassword
- POSTGRES_DB=counciltag
ports:
- "${DB_PORT:-5432}:5432"
redis:
image: redis:5-alpine