-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
56 lines (49 loc) · 1.07 KB
/
docker-compose.yaml
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
version: '3.8'
services:
postgres:
container_name: postgresDB
image: postgres:latest
environment:
POSTGRES_USER: ${PG_USER:-User}
POSTGRES_PASSWORD: Password
POSTGRES_DB: Order
ports:
- "127.0.0.1:5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- custom-network
pgadmin:
container_name: PGAdmin
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "127.0.0.1:0:80"
depends_on:
- postgres
volumes:
- pgadmin_data:/var/lib/pgadmin
networks:
- custom-network
rabbitmq:
container_name: RabbitMQ
image: rabbitmq:management
environment:
RABBITMQ_DEFAULT_USER: myuser
RABBITMQ_DEFAULT_PASS: mypassword
ports:
- "5672:5672"
- "15672:15672"
volumes:
- rabbitmq_data:/var/lib/rabbitmq
networks:
- custom-network
volumes:
postgres_data:
pgadmin_data:
rabbitmq_data:
networks:
custom-network:
driver: bridge