-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 876 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (31 loc) · 876 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
services:
medication-catalog:
build: ./dependencies/medication-catalog
ports:
- "3050:3050"
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3050/health"]
interval: 5s
timeout: 3s
retries: 5
message-broker:
build: ./dependencies/message-broker
ports:
- "3060:3060"
extra_hosts:
- "host.docker.internal:host-gateway"
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3060/health"]
interval: 5s
timeout: 3s
retries: 5
insurance-authorization:
build: ./dependencies/insurance-authorization
ports:
- "3070:3070"
environment:
- MESSAGE_BROKER_URL=http://message-broker:3060
- CALLBACK_URL=http://insurance-authorization:3070/webhook
depends_on:
message-broker:
condition: service_healthy