-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdev-docker-compose.yml
More file actions
103 lines (96 loc) · 1.86 KB
/
dev-docker-compose.yml
File metadata and controls
103 lines (96 loc) · 1.86 KB
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
services:
database:
image: postgres:16.2
restart: unless-stopped
hostname: $POSTGRES_HOST
ports:
- 5432:5432
healthcheck:
test:
["CMD", "sh", "-c", "pg_isready -U $$POSTGRES_USER -h $$(hostname -i)"]
interval: 10s
timeout: 15s
retries: 30
env_file:
- .env
volumes:
- database:/var/lib/postgresql/data
networks:
- db-network
pgadmin:
image: dpage/pgadmin4:7.7
restart: unless-stopped
ports:
- 15432:15432
env_file:
- .env
volumes:
- pgadmin:/var/lib/pgadmin
depends_on:
- database
networks:
- pgadmin-network
- db-network
redis:
image: redis:7.0
restart: unless-stopped
ports:
- 6379:6379
networks:
- redis-network
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
minio:
image: docker.io/bitnami/minio:2022
ports:
- '9000:9000'
- '9001:9001'
networks:
- minio-network
env_file:
- .env
keycloak:
image: quay.io/keycloak/keycloak:22.0
restart: unless-stopped
env_file:
- .env
ports:
- 8080:8080
depends_on:
- keycloak-db
networks:
- keycloak-network
- db-network
command:
- start-dev
keycloak-db:
image: postgres:16.2
restart: unless-stopped
healthcheck:
test:
["CMD", "sh", "-c", "pg_isready -U $$POSTGRES_USER -h $$(hostname -i)"]
interval: 10s
timeout: 15s
retries: 30
env_file:
- .env
volumes:
- keycloak-db-data:/var/lib/postgresql/data
networks:
- db-network
volumes:
database:
driver: local
pgadmin:
driver: local
keycloak-db-data:
driver: local
networks:
db-network:
pgadmin-network:
redis-network:
minio-network:
keycloak-network: