-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
39 lines (37 loc) · 808 Bytes
/
docker-compose.yaml
File metadata and controls
39 lines (37 loc) · 808 Bytes
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
services:
web:
build:
context: .
dockerfile: docker/Dockerfile
volumes:
- ./src:/app/src
ports:
- "8000:80"
environment:
- REDIS_URL=redis://redis:6379/0
- REDIS_HOST=redis
- REDIS_PORT=6379
depends_on:
- redis
celery:
build:
context: .
dockerfile: config/celery/Dockerfile
volumes:
- ./src:/app/src
environment:
- REDIS_URL=redis://redis:6379/0
- REDIS_HOST=redis
- REDIS_PORT=6379
- APP_ENV=DEV
- DB_HOST=${DB_HOST:-localhost}
- DB_USER=${DB_USER:-postgres}
- DB_PASSWORD=${DB_PASSWORD:-postgres}
- DB_NAME=${DB_NAME:-di_db}
- SENTRY_DSN=${SENTRY_DSN:-}
depends_on:
- redis
redis:
image: redis:alpine
ports:
- "6379:6379"