-
Notifications
You must be signed in to change notification settings - Fork 135
/
docker-compose-old.yml
62 lines (61 loc) · 1.27 KB
/
docker-compose-old.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
61
62
# by weilan in 2020.01.25
services:
# 服务端配置
wl-mfe.server:
container_name: wl-mfe.server
restart: always
build:
context: ./_server
dockerfile: Dockerfile
ports:
- '3700:3700'
# 主应用配置
wl-mfe.master:
container_name: wl-mfe.master
restart: always
build:
context: ./master
dockerfile: Dockerfile
environment:
NODE_ENV: 'production'
ports:
- '2750:2750'
# subapp-blog配置
wl-mfe.blog:
container_name: wl-mfe.subapp-blog
restart: always
build:
context: ./subapp-blog
dockerfile: Dockerfile
environment:
NODE_ENV: 'production'
ports:
- '2752:2752'
depends_on:
- wl-mfe.master
# subapp-login配置
wl-mfe.login:
container_name: wl-mfe.subapp-login
restart: always
build:
context: ./subapp-login
dockerfile: Dockerfile
environment:
NODE_ENV: 'production'
ports:
- '2753:2753'
depends_on:
- wl-mfe.master
# subapp-ui配置
wl-mfe.ui:
container_name: wl-mfe.subapp-ui
restart: always
build:
context: ./subapp-ui
dockerfile: Dockerfile
environment:
NODE_ENV: 'production'
ports:
- '2751:2751'
depends_on:
- wl-mfe.master