-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 880 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 880 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
version: '3'
services:
nginx:
restart: always
image: nginx:1.11.6-alpine
ports:
- 8000:8000
volumes:
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./django
mongo:
restart: always
ports:
- 27017:27017
image: dabercro/wtc-dev-mongo:190422
backend:
restart: always
build:
context: .
dockerfile: ./docker/django/Dockerfile
volumes:
- .:/django
links:
- mongo
entrypoint:
- /django-entrypoint.sh
frontend:
restart: always
build:
context: .
dockerfile: ./docker/web/Dockerfile
volumes:
- .:/django
links:
- backend
entrypoint:
- /web-entrypoint.sh