-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.dev_stand.yml
60 lines (55 loc) · 1.17 KB
/
docker-compose.dev_stand.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.7"
services:
dev_backend:
build: ./backend
working_dir: /backend
container_name: dev_backend
restart: unless-stopped
command: python3 dev-entry.py
volumes:
- ./backend/:/backend
depends_on:
- dev_unknown_mongo
env_file:
- .env
dev_frontend:
build:
context: ./frontend
dockerfile: Dockerfile.DevStand
container_name: dev_frontend
restart: unless-stopped
working_dir: /frontend
command: node build
env_file:
- .env
depends_on:
- dev_backend
environment:
- PORT=3000
dev_unknown_mongo:
image: mongo
container_name: dev_unknown_mongo
restart: unless-stopped
env_file:
- .env
volumes:
- "./data:/data/db"
mongo_seed:
build: ./backend/mongo
depends_on:
- dev_unknown_mongo
environment:
- db_host=dev_unknown_mongo
dev_client:
image: nginx
restart: unless-stopped
ports:
- 2081:80
volumes:
- type: bind
source: ./dev-proxy/dev-stand-nginx.conf
target: /etc/nginx/conf.d/default.conf
read_only: true
depends_on:
- dev_frontend
- dev_backend