-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathdocker-compose.yaml
executable file
·85 lines (78 loc) · 2.4 KB
/
docker-compose.yaml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: "3.4"
x-common-variables: &common-variables
ASPNETCORE_ENVIRONMENT: Development
services:
# product-api:
# image: ${DOCKER_REGISTRY:-ghcr.io/thangchung/coffeeshop-aspire}/product-api:${IMAGE_TAG:-latest}
# container_name: product-api
# environment:
# <<: *common-variables
# ASPNETCORE_URLS: http://+:5001
# ApplicationName: "product-api"
# OTEL_EXPORTER_OTLP_ENDPOINT: http://zipkin:9411/api/v2/spans
# ports:
# - "5001:5001"
# pull_policy: if_not_present
# restart: always
# networks:
# - coffeeshop-network
# counter-api:
# image: ${DOCKER_REGISTRY:-ghcr.io/thangchung/coffeeshop-aspire}/counter-api:${IMAGE_TAG:-latest}
# container_name: counter-api
# environment:
# <<: *common-variables
# ASPNETCORE_URLS: http://+:5002
# ApplicationName: "counter-api"
# ProductCatalogAppDaprName: product-api
# DAPR_GRPC_PORT: 4001
# OTEL_EXPORTER_OTLP_ENDPOINT: http://zipkin:9411/api/v2/spans
# ports:
# - "5002:5002"
# depends_on:
# - product-api
# pull_policy: if_not_present
# restart: always
# networks:
# - coffeeshop-network
# barista-api:
# image: ${DOCKER_REGISTRY:-ghcr.io/thangchung/coffeeshop-aspire}/barista-api:${IMAGE_TAG:-latest}
# container_name: barista-api
# environment:
# <<: *common-variables
# ASPNETCORE_URLS: http://+:5003
# ApplicationName: "barista-api"
# OTEL_EXPORTER_OTLP_ENDPOINT: http://zipkin:9411/api/v2/spans
# ports:
# - "5003:5003"
# pull_policy: if_not_present
# restart: always
# networks:
# - coffeeshop-network
# kitchen-api:
# image: ${DOCKER_REGISTRY:-ghcr.io/thangchung/coffeeshop-aspire}/kitchen-api:${IMAGE_TAG:-latest}
# container_name: kitchen-api
# environment:
# <<: *common-variables
# ASPNETCORE_URLS: http://+:5004
# ApplicationName: "kitchen-api"
# OTEL_EXPORTER_OTLP_ENDPOINT: http://zipkin:9411/api/v2/spans
# ports:
# - "5004:5004"
# pull_policy: if_not_present
# restart: always
# networks:
# - coffeeshop-network
rabbitmq:
image: masstransit/rabbitmq:latest
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
timeout: 30s
retries: 3
ports:
- "5672:5672"
- "15672:15672"
networks:
- coffeeshop-network
networks:
coffeeshop-network: