Added environment variables to configure application in Docker context
This commit is contained in:
parent
0229f5478b
commit
6dbb512c81
|
@ -1,10 +1,10 @@
|
|||
server:
|
||||
port: 8888
|
||||
port: ${PORT:8888}
|
||||
shutdown: graceful
|
||||
|
||||
management:
|
||||
# for security, don't use same port as application
|
||||
server.port: 13000
|
||||
server.port: ${ACTUATOR_PORT:13000}
|
||||
health:
|
||||
livenessState.enabled: true
|
||||
readinessState.enabled: true
|
||||
|
@ -28,11 +28,11 @@ spring:
|
|||
config:
|
||||
server:
|
||||
git:
|
||||
uri: "https://git.2martens.de/2martens/{application}"
|
||||
uri: ${REPOSITORY_PATH:https://git.2martens.de/2martens/{application}}
|
||||
search-paths:
|
||||
- module-server/src/main/resources/config
|
||||
- ${SEARCH_PATH:module-server/src/main/resources/config}
|
||||
force-pull: true
|
||||
deleteUntrackedBranches: true
|
||||
prefix: /config
|
||||
prefix: ${PREFIX:/config}
|
||||
application:
|
||||
name: configserver
|
||||
|
|
Loading…
Reference in New Issue