-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
53 lines (52 loc) · 1.08 KB
/
docker-compose-dev.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
version: '3.9'
services:
dev-backend:
build:
dockerfile: Dockerfile.dev
context: ./njs-backend
volumes:
- /usr/app/node_modules
- ./njs-backend:/usr/app
environment:
- MONGODB_URI
- AUTH_MODE
- JWT_SERVER_KEY
- SALT
# - CHOKIDAR_USEPOLLING=true
dev-cmdb:
build:
dockerfile: Dockerfile.cmdb.dev
context: ./ng-frontend
volumes:
- /usr/app/node_modules
- /usr/app/dist
- ./ng-frontend:/usr/app
depends_on:
- dev-backend
# environment:
# - CHOKIDAR_USEPOLLING=true
dev-dcman:
build:
dockerfile: Dockerfile.dcman.dev
context: ./ng-frontend
volumes:
- /usr/app/node_modules
- /usr/app/dist
- ./ng-frontend:/usr/app
depends_on:
- dev-backend
# environment:
# - CHOKIDAR_USEPOLLING=true
dev-proxy:
ports:
- 80:80
build:
dockerfile: Dockerfile.dev
context: .
restart: always
depends_on:
- dev-cmdb
- dev-dcman
- dev-backend
# environment:
# - CHOKIDAR_USEPOLLING=true