-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (45 loc) · 1010 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (45 loc) · 1010 Bytes
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
version: "3.9"
services:
postgres:
image: postgres:14.5
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
- ./src/main/docker/postgres/initdb.d:/docker-entrypoint-initdb.d
ports:
- "127.0.0.1:5432:5432"
networks:
biketeam:
aliases:
- postgres.localhost
rabbitmq:
image: rabbitmq:3.11.2
environment:
RABBITMQ_DEFAULT_USER: "biketeam"
RABBITMQ_DEFAULT_PASS: "biketeam"
RABBITMQ_DEFAULT_VHOST: "biketeam"
volumes:
- rabbitmq_data:/var/lib/rabbitmq
ports:
- "127.0.0.1:5672:5672"
networks:
biketeam:
aliases:
- rabbitmq.localhost
mailhog:
image: mailhog/mailhog:v1.0.1
ports:
- "127.0.0.1:8025:8025"
- "1025:1025"
networks:
biketeam:
aliases:
- mailhog.localhost
networks:
biketeam:
volumes:
postgres_data:
rabbitmq_data:
biketeam_data: