Skip to content

Commit

Permalink
#124 service ist jetzt teil von docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
vjohnslhm committed Sep 16, 2024
1 parent 613abfb commit e0cce2a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
6 changes: 5 additions & 1 deletion stack/.env
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,8 @@ WLS_WAHLVORBEREITUNG_SERVICE_KEYCLOAK_URL=http://kubernetes.docker.internal:8100

WLS_EAI_SERVICE_PROFILE=local,db-oracle,db-dummydata
WLS_EAI_SERVICE_DB_URL=jdbc:oracle:thin:@//wls-db-oracle:1521/XEPDB1
WLS_EAI_SERVICE_KEYCLOAK_URL=http://kubernetes.docker.internal:8100/auth/realms/${SSO_REALM}/protocol/openid-connect
WLS_EAI_SERVICE_KEYCLOAK_URL=http://kubernetes.docker.internal:8100/auth/realms/${SSO_REALM}/protocol/openid-connect

WLS_VORFAELLEUNDVORKOMMNISSE_SERVICE_PROFILE=local,db-oracle,dummy.nobezirkid.check
WLS_VORFAELLEUNDVORKOMMNISSE_SERVICE_DB_URL=jdbc:oracle:thin:@//wls-db-oracle:1521/XEPDB1
WLS_VORFAELLEUNDVORKOMMNISSE_SERVICE_KEYCLOAK_URL=http://kubernetes.docker.internal:8100/auth/realms/${SSO_REALM}/protocol/openid-connect
19 changes: 19 additions & 0 deletions stack/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,25 @@ services:
- services
- keycloak

wls-vorfaelleundvorkommnisse-service:
container_name: wls-vorfaelleundvorkommnisse-service
image: ghcr.io/it-at-m/wahllokalsystem-wls-vorfaelleundvorkommnisse-service:latest
depends_on:
- wls-db-oracle
env_file:
- .env
environment:
- SPRING_PROFILES_ACTIVE=${WLS_VORFAELLEUNDVORKOMMNISSE_SERVICE_PROFILE}
- SPRING_DATASOURCE_URL=${WLS_VORFAELLEUNDVORKOMMNISSE_SERVICE_DB_URL}
- SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK-SET-URI=${WLS_VORFAELLEUNDVORKOMMNISSE_SERVICE_KEYCLOAK_URL}/certs
- SECURITY_OAUTH2_RESOURCE_USER-INFO-URI=${WLS_VORFAELLEUNDVORKOMMNISSE_SERVICE_KEYCLOAK_URL}/userinfo
- SERVER_PORT=8080
ports:
- 8100:8080
networks:
- services
- keycloak

## Keycloak
wls-keycloak:
container_name: wls-keycloak
Expand Down

0 comments on commit e0cce2a

Please sign in to comment.