-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (52 loc) · 1001 Bytes
/
docker-compose.yml
File metadata and controls
58 lines (52 loc) · 1001 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3.7'
services:
db:
image: postgres:16
container_name: app_db
env_file:
- .env-non-dev
ports:
- 5433:5432
redis:
image: redis:7
container_name: app_redis
backend:
build:
context: backend
container_name: app_backend
env_file:
- .env-non-dev
depends_on:
- db
- redis
command: ["/backend/docker/app.sh"]
ports:
- 8000:8000
celery:
build:
context: backend
container_name: app_celery
command: ["/backend/docker/celery.sh", "celery"]
env_file:
- .env-non-dev
depends_on:
- redis
flower:
build:
context: backend
container_name: app_flower
command: ["/backend/docker/celery.sh", "flower"]
env_file:
- .env-non-dev
ports:
- 5555:5555
depends_on:
- redis
frontend:
build:
context: frontend
container_name: app_frontend
ports:
- 30:3000
depends_on:
- backend