Added environment variables to configure in Docker environment
This commit is contained in:
parent
3a9c70932d
commit
a2b85f402d
|
@ -6,4 +6,4 @@ spring:
|
||||||
config:
|
config:
|
||||||
import:
|
import:
|
||||||
- "classpath:config/wahlrecht.yaml"
|
- "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:
|
spring:
|
||||||
config:
|
config:
|
||||||
import:
|
import:
|
||||||
- "configserver:http://configserver:8888/config"
|
- "configserver:${CONFIGSERVER_SCHEME:http}://${CONFIGSERVER_HOST:configserver}:${CONFIGSERVER_PORT:8888}/${CONFIGSERVER_PREFIX:config}"
|
||||||
kafka:
|
kafka:
|
||||||
bootstrap-servers:
|
bootstrap-servers:
|
||||||
- kafka:9092
|
- ${KAFKA_HOST:kafka}:${KAFKA_PORT:9092}
|
||||||
|
|
|
@ -38,7 +38,7 @@ spring:
|
||||||
oauth2:
|
oauth2:
|
||||||
resourceserver:
|
resourceserver:
|
||||||
jwt:
|
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:
|
application:
|
||||||
name: wahlrecht
|
name: wahlrecht
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue