-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-products-sync-saga.yml
43 lines (40 loc) · 1.23 KB
/
docker-compose-products-sync-saga.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
version: '3.9'
networks:
api-network:
driver: bridge
services:
rabbitmq:
image: "masstransit/rabbitmq:${RABBITMQ_TAG}"
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
timeout: 30s
start_period: 10s
retries: 3
ports:
- "5672:5672"
- "15672:15672"
- "15692:15692"
networks:
- api-network
saga:
depends_on:
rabbitmq:
condition: service_healthy
build:
context: .
dockerfile: ./Itadakimasu.API.ProductsSynchronizationSaga/Dockerfile
environment:
ASPNETCORE_Kestrel__Certificates__Default__Password: ${ASPNETCORE_Kestrel__Certificates__Default__Password}
ASPNETCORE_Kestrel__Certificates__Default__Path: ${ASPNETCORE_Kestrel__Certificates__Default__Path}
ASPNETCORE_URLS: ${ASPNETCORE_URLS}
ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT}
RABBITMQ_ADDRESS: ${RABBITMQ_ADDRESS}
RABBITMQ_LOGIN: ${RABBITMQ_LOGIN}
RABBITMQ_PASSWORD: ${RABBITMQ_PASSWORD}
API_PRODUCTS_AGGREGATOR_ADDRESS: ${API_PRODUCTS_AGGREGATOR_ADDRESS}
API_PRODUCTS_SYNCHRONIZER_ADDRESS: ${API_PRODUCTS_SYNCHRONIZER_ADDRESS}
networks:
- api-network
volumes:
- ./Configs/DevCerts/:/https:ro