Added environment variables to configure in Docker environment
This commit is contained in:
parent
3a9c70932d
commit
a2b85f402d
|
@ -6,4 +6,4 @@ spring:
|
|||
config:
|
||||
import:
|
||||
- "classpath:config/wahlrecht.yaml"
|
||||
- "optional:configserver:http://localhost:8888/config"
|
||||
- "optional:configserver:${CONFIGSERVER_SCHEME:http}://${CONFIGSERVER_HOST:configserver}:${CONFIGSERVER_PORT:8888}/${CONFIGSERVER_PREFIX:config}"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
spring:
|
||||
config:
|
||||
import:
|
||||
- "configserver:http://configserver:8888/config"
|
||||
- "configserver:${CONFIGSERVER_SCHEME:http}://${CONFIGSERVER_HOST:configserver}:${CONFIGSERVER_PORT:8888}/${CONFIGSERVER_PREFIX:config}"
|
||||
kafka:
|
||||
bootstrap-servers:
|
||||
- kafka:9092
|
||||
- ${KAFKA_HOST:kafka}:${KAFKA_PORT:9092}
|
||||
|
|
|
@ -38,7 +38,7 @@ spring:
|
|||
oauth2:
|
||||
resourceserver:
|
||||
jwt:
|
||||
jwk-set-uri: https://id.2martens.de/realms/2martens/protocol/openid-connect/certs
|
||||
jwk-set-uri: ${KEYCLOAK_URL:https://id.2martens.de}/realms/${KEYCLOAK_REALM:2martens}/protocol/openid-connect/certs
|
||||
application:
|
||||
name: wahlrecht
|
||||
|
||||
|
|
Loading…
Reference in New Issue