-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
87 lines (79 loc) · 1.86 KB
/
docker-compose.yaml
File metadata and controls
87 lines (79 loc) · 1.86 KB
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
86
87
services:
bds-postgresql:
container_name: bds-postgresql
image: postgres:13
ports:
- "5434:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=edc
volumes:
- postgresql_data:/var/lib/postgresql/data
- ./deployment/bds-postgresql/initdb:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d edc_provider-base"]
interval: 5s
timeout: 5s
retries: 10
networks:
- base-ds-network
provider-base:
container_name: provider-base
ports:
- "19191:19191"
- "19193:19193"
- "19194:19194"
- "19291:19291"
depends_on:
- bds-postgresql
build: ./providers/provider-base
restart: on-failure:5
volumes:
- ./providers/provider-base/resources/identity:/identity
networks:
- base-ds-network
consumer-base:
container_name: consumer-base
ports:
- "29191:29191"
- "29193:29193"
- "29194:29194"
build: ./consumers/consumer-base
volumes:
- ./consumers/consumer-base/resources/identity:/identity
networks:
- base-ds-network
request-logger:
container_name: request-logger
ports:
- 4001:4000
build: ./util/http-request-logger
networks:
- base-ds-network
fc-mongodb:
container_name: fc-mongodb
image: mongodb/mongodb-community-server:8.2-ubi8
ports:
- "27018:27017"
volumes:
- mongodb_data:/data/db
networks:
- base-ds-network
federated-catalog:
container_name: federated-catalog
ports:
- "39191:39191"
- "39193:39193"
- "39194:39194"
- "39195:39195"
build: ./federated-catalog
networks:
- base-ds-network
networks:
base-ds-network:
name: base-ds-network
driver: bridge
volumes:
postgresql_data:
mongodb_data: