-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (49 loc) · 1.02 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
services:
postgres:
image: postgres:latest
container_name: md-postgres
environment:
POSTGRES_USER: johndoe
POSTGRES_PASSWORD: somew0rds
POSTGRES_DB: RentAGameDb
ports:
- "5433:5432"
volumes:
- postgres_data:/var/lib/postgres/data
networks:
- md-network
pgadmin:
image: dpage/pgadmin4:latest
container_name: md-pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: scoth@tiger.com
PGADMIN_DEFAULT_PASSWORD: 123456
ports:
- "5051:80"
depends_on:
- postgres
networks:
- md-network
rabbitmq:
image: rabbitmq:management
container_name: md-rabbitmq
environment:
RABBITMQ_DEFAULT_USER: scothtiger
RABBITMQ_DEFAULT_PASS: 123456
ports:
- "5673:5672"
- "15673:15672"
networks:
- md-network
redis:
image: redis:latest
container_name: md-redis
ports:
- "6380:6379"
networks:
- md-network
volumes:
postgres_data:
networks:
md-network:
driver: bridge