-
Notifications
You must be signed in to change notification settings - Fork 44
/
docker-compose.override.yml
57 lines (54 loc) · 1.54 KB
/
docker-compose.override.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
version: '3'
services:
rmq-listerner:
ports:
- 5672:5672
- 15672:15672
volumes:
- ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq
postgres-restaurant:
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=development_pass
- POSTGRES_MULTIPLE_DATABASES="restaurant-api","restaurant-api-testing"
volumes:
- ./docker-utils:/docker-entrypoint-initdb.d
- restaurant_api_data:/data/postgres
ports:
- 5435:5432
postgres-cart:
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=development_pass
- POSTGRES_MULTIPLE_DATABASES="cart-api","cart-api-testing"
volumes:
- ./docker-utils:/docker-entrypoint-initdb.d
- cart_api_data:/data/postgres
ports:
- 5432:5432
postgres-user:
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=development_pass
- POSTGRES_MULTIPLE_DATABASES="user-api","user-api-testing"
volumes:
- ./docker-utils:/docker-entrypoint-initdb.d
- user_api_data:/data/postgres
ports:
- 5433:5432
postgres-order:
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=development_pass
- POSTGRES_MULTIPLE_DATABASES="order-api","order-api-testing"
volumes:
- ./docker-utils:/docker-entrypoint-initdb.d
- order_api_data:/data/postgres
ports:
- 5438:5432
volumes:
restaurant_api_data: {}
user_api_data: {}
cart_api_data: {}
order_api_data: {}