-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
41 lines (38 loc) · 920 Bytes
/
docker-compose.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
version: "2"
services:
prod:
restart: always
build: .
hostname: "{{.Service.Name}}-{{.Task.Slot}}"
command: npm run serve
volumes:
- /usr/local/dao499/backend-config/config.prod.js:/usr/src/app/config/config.default.js
ports:
- 7011:7001
networks:
overlay:
test:
restart: always
build: .
hostname: "{{.Service.Name}}-{{.Task.Slot}}"
command: npm run dev
volumes:
- /usr/local/dao499/backend-config/config.prod.js:/usr/src/app/config/config.default.js
ports:
- 7011:7001
networks:
overlay:
local:
restart: always
build: .
hostname: "{{.Service.Name}}-{{.Task.Slot}}"
# command: npm run serve
command: npm run dev
volumes:
- /usr/local/dao499/backend-config/config.prod.js:/usr/src/app/config/config.default.js
ports:
- 7011:7001
networks:
overlay:
networks:
overlay: