-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
91 lines (85 loc) · 1.71 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
mongodb:
image: mongo
# ports:
# - 27017:27017
# volumes:
# - ./data:/data/db
restart: always
redis:
image: redis
# ports:
# - 6379:6379
restart: always
backend_1:
image: beepaste_back
ports:
- 8080:8080
volumes:
- ./config:/beepaste/config
links:
- mongodb:mongodata
- redis:redisdata
restart: always
backend_2:
image: beepaste_back
# ports:
# - 8080:8080
volumes:
- ./config:/beepaste/config
links:
- mongodb:mongodata
- redis:redisdata
restart: always
backend_3:
image: beepaste_back
# ports:
# - 8080:8080
volumes:
- ./config:/beepaste/config
links:
- mongodb:mongodata
- redis:redisdata
restart: always
backend_4:
image: beepaste_back
# ports:
# - 8080:8080
volumes:
- ./config:/beepaste/config
links:
- mongodb:mongodata
- redis:redisdata
restart: always
frontend_1:
image: beepaste_front
ports:
- 8081:3000
restart: always
frontend_2:
image: beepaste_front
# ports:
# - 8081:3000
restart: always
frontend_3:
image: beepaste_front
# ports:
# - 8081:3000
restart: always
frontend_4:
image: beepaste_front
# ports:
# - 8081:3000
restart: always
nginx:
image: beepaste_nginx
ports:
- 8082:80
links:
- backend_1:backend_server_1
- backend_2:backend_server_2
- backend_3:backend_server_3
- backend_4:backend_server_4
- frontend_1:front_server_1
- frontend_2:front_server_2
- frontend_3:front_server_3
- frontend_4:front_server_4