-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
63 lines (58 loc) · 1.27 KB
/
docker-compose-dev.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
services:
keycloak:
image: quay.io/keycloak/keycloak:24.0.1
container_name: keycloak
ports:
- "7080:8080"
environment:
KEYCLOAK_ADMIN: "admin"
KEYCLOAK_ADMIN_PASSWORD: "admin"
command: "start-dev"
rabbitmq:
image: "rabbitmq:3.13.4-management"
hostname: "rabbitmq"
ports:
- "5672:5672"
- "15672:15672"
healthcheck:
test: rabbitmq-diagnostics check_port_connectivity
interval: 30s
timeout: 10s
retries: 5
start_period: 40s
redis:
image: redis
ports:
- "6379:6379"
healthcheck:
test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ]
timeout: 10s
retries: 5
start_period: 40s
accounts-db:
image: postgres
container_name: accountsdb
ports:
- "5432:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: accountsdb
cards-db:
image: postgres
container_name: cardsdb
ports:
- "5433:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: cardsdb
loans-db:
image: postgres
container_name: loansdb
ports:
- "5434:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: loansdb