-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathdocker-compose.ci.yml
99 lines (93 loc) · 2.56 KB
/
docker-compose.ci.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
92
93
94
95
96
97
98
99
services:
auth.niffler.dc:
container_name: auth.niffler.dc
image: ${PREFIX}/niffler-auth-${PROFILE}:${AUTH_VER}
pull_policy: always
environment:
- VAULT_TOKEN=${VAULT_TOKEN}
- JAVA_TOOL_OPTIONS=-XX:InitialHeapSize=1024m -XX:MaxHeapSize=1024m
ports:
- 9000:9000
healthcheck:
test: "wget --spider http://localhost:9000/actuator/health || exit 1"
interval: 5s
timeout: 5s
retries: 10
restart: always
networks:
- niffler-network
currency.niffler.dc:
container_name: currency.niffler.dc
image: ${PREFIX}/niffler-currency-${PROFILE}:${CURRENCY_VER}
pull_policy: always
environment:
- VAULT_TOKEN=${VAULT_TOKEN}
- JAVA_TOOL_OPTIONS=-XX:InitialHeapSize=768m -XX:MaxHeapSize=768m
ports:
- 8091:8091
- 8092:8092
restart: always
networks:
- niffler-network
gateway.niffler.dc:
container_name: gateway.niffler.dc
image: ${PREFIX}/niffler-gateway-${PROFILE}:${GATEWAY_VER}
pull_policy: always
environment:
- VAULT_TOKEN=${VAULT_TOKEN}
- JAVA_TOOL_OPTIONS=-XX:InitialHeapSize=768m -XX:MaxHeapSize=768m
ports:
- 8090:8090
healthcheck:
test: "wget --spider http://localhost:8090/actuator/health || exit 1"
interval: 5s
timeout: 5s
retries: 10
restart: always
depends_on:
auth.niffler.dc:
condition: service_healthy
networks:
- niffler-network
spend.niffler.dc:
container_name: spend.niffler.dc
image: ${PREFIX}/niffler-spend-${PROFILE}:${SPEND_VER}
pull_policy: always
environment:
- VAULT_TOKEN=${VAULT_TOKEN}
- JAVA_TOOL_OPTIONS=-XX:InitialHeapSize=768m -XX:MaxHeapSize=768m
ports:
- 8093:8093
restart: always
networks:
- niffler-network
userdata.niffler.dc:
container_name: userdata.niffler.dc
image: ${PREFIX}/niffler-userdata-${PROFILE}:${USERDATA_VER}
pull_policy: always
environment:
- VAULT_TOKEN=${VAULT_TOKEN}
- JAVA_TOOL_OPTIONS=-XX:InitialHeapSize=768m -XX:MaxHeapSize=768m
ports:
- 8089:8089
restart: always
depends_on:
auth.niffler.dc:
condition: service_healthy
networks:
- niffler-network
frontend.niffler.dc:
container_name: frontend.niffler.dc
image: ${PREFIX}/niffler-ng-client-${PROFILE}:${FRONT_VER}
pull_policy: always
ports:
- 8000:80
restart: always
depends_on:
gateway.niffler.dc:
condition: service_healthy
networks:
- niffler-network
networks:
niffler-network:
driver: bridge