@@ -7,11 +7,13 @@ volumes:
7
7
services :
8
8
keycloak-server :
9
9
container_name : keycloak-apicurio
10
- image : quay.io/keycloak/keycloak:19 .0.2
10
+ image : quay.io/keycloak/keycloak:23 .0.7
11
11
environment :
12
12
KEYCLOAK_ADMIN : admin
13
13
KEYCLOAK_ADMIN_PASSWORD : admin
14
- KC_HOSTNAME_URL : http://localhost:8080
14
+ KC_HOSTNAME : " localhost"
15
+ KC_HOSTNAME_PORT : " 8080"
16
+ KC_HOSTNAME_STRICT_BACKCHANNEL : " false"
15
17
command :
16
18
- start-dev
17
19
- --import-realm
@@ -27,22 +29,39 @@ services:
27
29
POSTGRES_USER : apicurio-registry
28
30
POSTGRES_PASSWORD : password
29
31
30
- app :
31
- image : apicurio/apicurio-registry-sql:latest-snapshot
32
+ backend :
33
+ image : quay.io/ apicurio/apicurio-registry@sha256:3cf8b1a8b67ef1efff872556f642751f432eec8d1b704d45adececeff86a3222
32
34
environment :
33
35
REGISTRY_DATASOURCE_URL : ' jdbc:postgresql://database-apicurio:5432/apicurio-registry'
34
36
REGISTRY_DATASOURCE_USERNAME : apicurio-registry
35
37
REGISTRY_DATASOURCE_PASSWORD : password
38
+ REGISTRY_STORAGE_KIND : " sql"
39
+ REGISTRY_STORAGE_DB_KIND : " postgresql"
36
40
AUTH_ENABLED : " true"
37
41
KEYCLOAK_REALM : registry
38
42
QUARKUS_HTTP_PORT : 8081
39
- LOG_LEVEL : " DEBUG"
40
43
KEYCLOAK_URL : " http://localhost:8080"
44
+ LOG_LEVEL : " DEBUG"
45
+ REGISTRY_UI_CONFIG_AUTH_KEYCLOAK_URL : " http://localhost:8080"
46
+ QUARKUS_OIDC_AUTH_SERVER_URL : " http://keycloak-server:8080/realms/registry"
47
+ TOKEN_ENDPOINT : " http://keycloak-server:8080/realms/registry/protocol/openid-connect/token"
41
48
KEYCLOAK_API_CLIENT_ID : registry-api
42
- KEYCLOAK_UI_CLIENT_ID : apicurio-registry
43
- REGISTRY_AUTH_URL_CONFIGURED : " http://host.docker.internal:8080/realms/registry"
49
+ REGISTRY_UI_AUTH_OIDC_CLIENTID : apicurio-registry
50
+ QUARKUS_OIDC_TLS_VERIFICATION : " none"
51
+ CORS_ALLOWED_ORIGINS : ' *'
52
+ QUARKUS_PROFILE : " prod"
44
53
ports :
45
54
- 8081:8081
46
55
depends_on :
47
56
- postgres
48
57
- keycloak-server
58
+
59
+ ui :
60
+ image : quay.io/apicurio/apicurio-registry-ui@sha256:ec60369e36cafd68e7af6f87df397c54975bbb71530744810822cf4aab2159d9
61
+ environment :
62
+ REGISTRY_API_URL : " http://localhost:8081/apis/registry/v3"
63
+ ports :
64
+ - 8888:8080
65
+ depends_on :
66
+ - backend
67
+ - keycloak-server
0 commit comments