-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose-dev.yaml
134 lines (119 loc) · 3.48 KB
/
docker-compose-dev.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
version: "3.8"
services:
edc-ui:
image: ${EDC_UI_IMAGE}
ports:
- '11000:8080'
- '11015:5005'
environment:
EDC_UI_ACTIVE_PROFILE: ${EDC_UI_ACTIVE_PROFILE}
EDC_UI_CONFIG_URL: edc-ui-config
EDC_UI_MANAGEMENT_API_URL: http://localhost:11002/api/management
EDC_UI_MANAGEMENT_API_KEY: ApiKeyDefaultValue
EDC_UI_CATALOG_URLS: http://edc2:11003/api/dsp
EDC_UI_MANAGEMENT_API_URL_SHOWN_IN_DASHBOARD: http://localhost:11002/control/api/management
NGINX_ACCESS_LOG: off
edc:
image: ${EDC_IMAGE}
depends_on:
postgresql:
condition: service_healthy
environment:
MY_EDC_NETWORK_TYPE: local-demo-docker-compose
EDC_API_AUTH_KEY: ApiKeyDefaultValue
MY_EDC_FQDN: "edc"
MY_EDC_C2C_IAM_TYPE: "mock-iam"
MY_EDC_PARTICIPANT_ID: "my-edc"
MY_EDC_JDBC_URL: jdbc:postgresql://postgresql:5432/edc
MY_EDC_JDBC_USER: edc
MY_EDC_JDBC_PASSWORD: edc
MY_EDC_TITLE: "EDC Connector"
MY_EDC_DESCRIPTION: "sovity Community Edition EDC Connector"
MY_EDC_CURATOR_URL: "https://example.com"
MY_EDC_CURATOR_NAME: "Example GmbH"
MY_EDC_MAINTAINER_URL: "https://sovity.de"
MY_EDC_MAINTAINER_NAME: "sovity GmbH"
ports:
- '11001:11001'
- '11002:11002'
- '11003:11003'
- '11004:11004'
- '11005:5005'
edc-ui2:
image: ${EDC_UI_IMAGE}
ports:
- '22000:8080'
environment:
EDC_UI_ACTIVE_PROFILE: ${EDC_UI_ACTIVE_PROFILE}
EDC_UI_CONFIG_URL: edc-ui-config
EDC_UI_MANAGEMENT_API_URL: http://localhost:22002/api/management
EDC_UI_MANAGEMENT_API_KEY: ApiKeyDefaultValue
EDC_UI_CATALOG_URLS: http://edc:11003/api/dsp
NGINX_ACCESS_LOG: off
edc2:
image: ${EDC_IMAGE}
depends_on:
postgresql2:
condition: service_healthy
environment:
MY_EDC_NETWORK_TYPE: local-demo-docker-compose
EDC_API_AUTH_KEY: ApiKeyDefaultValue
MY_EDC_FQDN: "edc2"
MY_EDC_C2C_IAM_TYPE: "mock-iam"
MY_EDC_PARTICIPANT_ID: "my-edc2"
MY_EDC_JDBC_URL: jdbc:postgresql://postgresql2:5432/edc
MY_EDC_JDBC_USER: edc
MY_EDC_JDBC_PASSWORD: edc
MY_EDC_TITLE: "EDC Connector 2"
MY_EDC_DESCRIPTION: "sovity Community Edition EDC Connector"
MY_EDC_CURATOR_URL: "https://example.com"
MY_EDC_CURATOR_NAME: "Example GmbH"
MY_EDC_MAINTAINER_URL: "https://sovity.de"
MY_EDC_MAINTAINER_NAME: "sovity GmbH"
ports:
- '22001:11001'
- '22002:11002'
- '22003:11003'
- '22004:11004'
- '22005:5005'
test-backend:
image: ${TEST_BACKEND_IMAGE}
ports:
- '33001:11001'
postgresql:
image: docker.io/bitnami/postgresql:15
restart: always
environment:
POSTGRESQL_USERNAME: edc
POSTGRESQL_PASSWORD: edc
POSTGRESQL_DATABASE: edc
ports:
- '54321:5432'
volumes:
- 'postgresql:/bitnami/postgresql'
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U edc" ]
interval: 1s
timeout: 5s
retries: 10
postgresql2:
image: docker.io/bitnami/postgresql:15
restart: always
environment:
POSTGRESQL_USERNAME: edc
POSTGRESQL_PASSWORD: edc
POSTGRESQL_DATABASE: edc
ports:
- '54322:5432'
volumes:
- 'postgresql2:/bitnami/postgresql'
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U edc" ]
interval: 1s
timeout: 5s
retries: 10
volumes:
postgresql:
driver: local
postgresql2:
driver: local