-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
60 lines (59 loc) · 1.14 KB
/
docker-compose.yaml
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"
networks:
my_network1:
my_network2:
my_network3:
my_network4:
services:
nginx_alb:
image: devopsorient.azurecr.io/nginx_alb:latest
container_name: web-server
ports:
- 80:80
- 443:443
networks:
- my_network1
- my_network2
- my_network3
- my_network4
restart: always
app1:
image: devopsorient.azurecr.io/webpage8001:latest
container_name: app1
expose:
- 8001
networks:
- my_network1
environment:
- MESSAGE="App 1 !"
- PORT=8001
app2:
image: devopsorient.azurecr.io/webpage8002:latest
container_name: app2
expose:
- 8002
networks:
- my_network2
environment:
- MESSAGE="App 2 !"
- PORT=8002
app3:
image: devopsorient.azurecr.io/webpage8003:latest
container_name: app3
expose:
- 8003
networks:
- my_network3
environment:
- MESSAGE="App 3 !"
- PORT=8003
app4:
image: devopsorient.azurecr.io/webpage8004:latest
container_name: app4
expose:
- 8004
networks:
- my_network4
environment:
- MESSAGE="App 4 !"
- PORT=8004