-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·46 lines (40 loc) · 967 Bytes
/
docker-compose.yml
File metadata and controls
executable file
·46 lines (40 loc) · 967 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
version: '2'
volumes:
esdata1:
driver: local
networks: {stack: {}}
services:
postgres:
networks: ['stack']
extends:
file: docker-common.yml
service: postgres
ports:
- 5433:5432
volumes:
- ./docker/postgres/init-user-db.sh:/docker-entrypoint-initdb.d/init-user-db.sh
backend:
extends:
file: docker-common.yml
service: django
entrypoint:
- /django-entrypoint.sh
expose:
- 9000
ports:
- 9000:9000
- 3500:3500
depends_on: ['postgres']
networks: ['stack']
stdin_open: true
frontend:
networks: ['stack']
extends:
file: docker-common.yml
service: web
entrypoint:
- /web-entrypoint.sh
environment:
NODE_ENV: local-django
ports:
- '9002:9002'