-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (50 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
version: '2'
services:
checkout_db:
image: postgres
environment:
- POSTGRES_USER=amqpadmin
- POSTGRES_PASSWORD=amqpadmin
ports:
- "54321:5432"
delivery_db:
image: postgres
environment:
- POSTGRES_USER=amqpadmin
- POSTGRES_PASSWORD=amqpadmin
ports:
- "54322:5432"
reports_db:
image: postgres
environment:
- POSTGRES_USER=amqpadmin
- POSTGRES_PASSWORD=amqpadmin
ports:
- "54323:5432"
notifications_db:
image: postgres
environment:
- POSTGRES_USER=amqpadmin
- POSTGRES_PASSWORD=amqpadmin
ports:
- "54324:5432"
rabbitmq_master:
image: rabbitmq:3-management
hostname: rabbitmq_master
environment:
- RABBITMQ_ERLANG_COOKIE="clusteramqp-01-2017"
ports:
- "8080:15672"
depends_on:
- rabbitmq_slave
rabbitmq_slave:
image: rabbitmq:3-management
hostname: rabbitmq_slave
environment:
- RABBITMQ_ERLANG_COOKIE="clusteramqp-01-2017"
ports:
- "9080:15672"
mail_server:
image: schickling/mailcatcher
ports:
- "1080:1080"