File tree Expand file tree Collapse file tree 4 files changed +1883
-2077
lines changed
Expand file tree Collapse file tree 4 files changed +1883
-2077
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ services:
4545 interval : 10s
4646 timeout : 5s
4747 retries : 5
48+ start_period : 18s
4849 depends_on :
4950 - postgres
5051 ports :
@@ -163,18 +164,25 @@ services:
163164 TEST_CALLBACK_URL : http://$HOST:8090
164165 KEYCLOAK_URL : http://$HOST:8090/auth
165166
166-
167-
168167 apicurio-registry :
169- depends_on : [postgres]
170- image : apicurio/apicurio-registry-sql:2.0 .2.Final
168+ depends_on : [postgres,keycloak ]
169+ image : apicurio/apicurio-registry-sql:2.1 .2.Final
171170 container_name : apicurio-registry
172171 ports :
173172 - 8094:8080
174173 environment :
175174 REGISTRY_DATASOURCE_URL : ' jdbc:postgresql://postgres:5432/registrydb'
176175 REGISTRY_DATASOURCE_USERNAME : registrydb
177176 REGISTRY_DATASOURCE_PASSWORD : registrydb
177+ ROLE_BASED_AUTHZ_ENABLED : " true"
178+ REGISTRY_AUTH_OWNER_ONLY_AUTHORIZATION : " false"
179+ AUTH_ENABLED : ' true'
180+ KEYCLOAK_URL : http://$HOST:8090/auth
181+ KEYCLOAK_REALM : registry
182+ KEYCLOAK_API_CLIENT_ID : registry-api
183+ KEYCLOAK_UI_CLIENT_ID : apicurio-registry
184+
185+
178186
179187volumes :
180188 keycloak-datastore :
You can’t perform that action at this time.
0 commit comments