-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
114 lines (105 loc) · 2.43 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
version: '3.9'
services:
rangiffler-all-db:
container_name: rangiffler-all-db
image: postgres:15.1
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=secret
healthcheck:
test: [ "CMD", "pg_isready" ]
interval: 3s
timeout: 3s
retries: 5
expose:
- "5432"
volumes:
- ./sql/create-db.sql:/docker-entrypoint-initdb.d/create-db.sql
restart: always
networks:
- rangiffler-network
dns_search: .
rangiffler-auth:
container_name: rangiffler-auth
image: rapdog64/rangiffler-auth:1.0.0
ports:
- "9000:9000"
healthcheck:
test: "wget --spider http://localhost:9000/actuator/health || exit 1"
interval: 5s
timeout: 5s
retries: 10
restart: always
depends_on:
rangiffler-all-db:
condition: service_healthy
networks:
- rangiffler-network
dns_search: .
rangiffler-geo:
container_name: rangiffler-geo
image: rapdog64/rangiffler-geo:1.0.0
ports:
- "8088:8088"
restart: always
depends_on:
rangiffler-all-db:
condition: service_healthy
networks:
- rangiffler-network
dns_search: .
rangiffler-gateway:
container_name: rangiffler-gateway
image: rapdog64/rangiffler-gateway:1.0.0
ports:
- "8080:8080"
healthcheck:
test: "wget --spider http://localhost:8080/actuator/health || exit 1"
interval: 5s
timeout: 5s
retries: 10
restart: always
depends_on:
- rangiffler-auth
networks:
- rangiffler-network
dns_search: .
rangiffler-photo:
container_name: rangiffler-photo
image: rapdog64/rangiffler-photo:1.0.0
ports:
- "8086:8086"
restart: always
depends_on:
rangiffler-all-db:
condition: service_healthy
networks:
- rangiffler-network
dns_search: .
rangiffler-userdata:
container_name: rangiffler-userdata
image: rapdog64/rangiffler-userdata:1.0.0
ports:
- "8089:8089"
restart: always
depends_on:
rangiffler-all-db:
condition: service_healthy
networks:
- rangiffler-network
dns_search: .
rangiffler-client:
container_name: rangiffler-client
image: rapdog64/rangiffler-client:1.0.0
ports:
- "80:80"
restart: always
networks:
- rangiffler-network
dns_search: .
volumes:
pgdata:
external: true
networks:
rangiffler-network:
driver: bridge