forked from InhaBas/Inhabas.com-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (64 loc) · 1.63 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
version: '3'
services:
config:
image: whtmdgus56/ibas-config:config
container_name: backend-cloud-config
networks:
ibas-network:
ipv4_address: 172.18.0.6
ports:
- "8888:8888"
environment:
TZ: Asia/Seoul
entrypoint: [ "java", "-jar", "app.jar" ]
prod1:
image: whtmdgus56/ibas-config:prod
container_name: backend-prod1
networks:
ibas-network:
ipv4_address: 172.18.0.2
ports:
- "8080:8080"
environment:
SPRING_PROFILES_ACTIVE: prod1
TZ: Asia/Seoul
entrypoint: ["java", "-jar", "app.jar", "--spring.profiles.active=prod1"]
prod2:
image: whtmdgus56/ibas-config:prod
container_name: backend-prod2
networks:
ibas-network:
ipv4_address: 172.18.0.3
ports:
- "8081:8081"
environment:
SPRING_PROFILES_ACTIVE: prod2
TZ: Asia/Seoul
entrypoint: ["java", "-jar", "app.jar", "--spring.profiles.active=prod2"]
dev1:
image: whtmdgus56/ibas-config:dev
container_name: backend-dev
networks:
ibas-network:
ipv4_address: 172.18.0.4
ports:
- "8082:8082"
environment:
SPRING_PROFILES_ACTIVE: dev1
TZ: Asia/Seoul
entrypoint: ["java", "-jar", "app.jar", "--spring.profiles.active=dev1"]
dev2:
image: whtmdgus56/ibas-config:dev
container_name: backend-dev2
networks:
ibas-network:
ipv4_address: 172.18.0.5
ports:
- "8083:8083"
environment:
SPRING_PROFILES_ACTIVE: dev2
TZ: Asia/Seoul
entrypoint: ["java", "-jar", "app.jar", "--spring.profiles.active=dev2"]
networks:
ibas-network:
external: true