fix: small fixes for docker compose

This commit is contained in:
nsm 2022-04-07 14:12:30 +02:00 committed by Norman Schmidt
parent ca77f6f208
commit 51ebab123a
3 changed files with 5 additions and 12 deletions

View File

@ -1,7 +1,7 @@
## IdentityProvider (Keycloak) ## ## IdentityProvider (Keycloak) ##
spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:8888/auth/realms/c4po_realm_local spring.security.oauth2.resourceserver.jwt.issuer-uri=http://c4po-keycloak:8888/auth/realms/c4po_realm_local
keycloakhost=localhost keycloakhost=c4po-keycloak
keycloak.client.url=http://localhost:8888 keycloak.client.url=http://c4po-keycloak:8888
keycloak.client.realm.path=auth/realms/c4po_realm_local/ keycloak.client.realm.path=auth/realms/c4po_realm_local/
## Database (MONGODB) Config ## ## Database (MONGODB) Config ##

View File

@ -1,6 +1,6 @@
# cfg for local keycloak # cfg for local keycloak
DB_VENDOR=postgres DB_VENDOR=postgres
DB_ADDR=c4po-keycloak-postgress DB_ADDR=c4po-keycloak-postgres
DB_PORT=5432 DB_PORT=5432
DB_USER=c4po_kc_local DB_USER=c4po_kc_local
DB_PASSWORD=Test1234! DB_PASSWORD=Test1234!

View File

@ -35,11 +35,9 @@ services:
container_name: c4po-keycloak container_name: c4po-keycloak
depends_on: depends_on:
- c4po-keycloak-postgres - c4po-keycloak-postgres
links:
- c4po-keycloak-postgres
image: jboss/keycloak:11.0.3 image: jboss/keycloak:11.0.3
volumes: volumes:
- /cfg/c4po_realm_export.json/:/tmp/c4po_realm_export.json - ./cfg/c4po_realm_export.json:/tmp/c4po_realm_export.json
ports: ports:
- 8888:8080 - 8888:8080
env_file: env_file:
@ -53,8 +51,6 @@ services:
container_name: c4po-angular container_name: c4po-angular
depends_on: depends_on:
- c4po-keycloak - c4po-keycloak
links:
- c4po-keycloak
deploy: deploy:
resources: resources:
limits: limits:
@ -73,9 +69,6 @@ services:
depends_on: depends_on:
- c4po-db - c4po-db
- c4po-keycloak - c4po-keycloak
links:
- c4po-db
- c4po-keycloak
deploy: deploy:
resources: resources:
limits: limits: