-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (53 loc) · 1.09 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
services:
db:
container_name: postgres
image: postgres
restart: always
environment:
POSTGRES_DB: microservices-asyn-communication-using-rabbitmq
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
PGDATA: /var/lib/postgresql/data
ports:
- "5432:5432"
networks:
- postgres
volumes:
- db-data:/var/lib/postgresql/data
pgadmin:
container_name: pgadmin4
image: dpage/pgadmin4:6.12
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: secret
PGADMIN_LISTEN_PORT: 80
ports:
- "5050:80"
networks:
- postgres
volumes:
- pgadmin-data:/var/lib/pgadmin
zipkin:
image: openzipkin/zipkin
container_name: zipkin
ports:
- "9411:9411"
networks:
- spring
rabbitmq:
image: rabbitmq:3.9.11-management-alpine
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
networks:
- spring
networks:
postgres:
driver: bridge
spring:
driver: bridge
volumes:
db-data:
pgadmin-data: