Skip to content
Snippets Groups Projects
Verified Commit 30a3403d authored by Hutomo Saleh's avatar Hutomo Saleh
Browse files

chore: use management port by default, remove its env var in compose

parent 7d880f92
No related branches found
No related tags found
1 merge request!18Restructure spring application properties
Pipeline #65300 passed
...@@ -28,7 +28,7 @@ occmd.occmd-path=${OCCMD_PATH} ...@@ -28,7 +28,7 @@ occmd.occmd-path=${OCCMD_PATH}
# Spring actuator settings # Spring actuator settings
management.server.port=${MANAGEMENT_PORT} management.server.port=${MANAGEMENT_PORT}
springdoc.use-management-port=${USE_MANAGEMENT_PORT} springdoc.use-management-port=true
management.endpoints.web.exposure.include=health,metrics, openapi, swagger-ui, logfile, loggers, prometheus, auditevents management.endpoints.web.exposure.include=health,metrics, openapi, swagger-ui, logfile, loggers, prometheus, auditevents
springdoc.show-actuator=true springdoc.show-actuator=true
spring.main.web-application-type=REACTIVE spring.main.web-application-type=REACTIVE
......
...@@ -18,7 +18,6 @@ services: ...@@ -18,7 +18,6 @@ services:
- OC_GL_APIKEY=${SECRET_OC_GL_APIKEY} - OC_GL_APIKEY=${SECRET_OC_GL_APIKEY}
- XDG_CONFIG_HOME=/app/.config/ - XDG_CONFIG_HOME=/app/.config/
- GIT_CLONE_TARGET_DIRECTORY=/app/git/ - GIT_CLONE_TARGET_DIRECTORY=/app/git/
- USE_MANAGEMENT_PORT=true
- MANAGEMENT_PORT=4001 - MANAGEMENT_PORT=4001
- PROJECT_IDS=1448,2991,1317,560,2188,2155,2149,2235 # occmd-public, Covid19 fraud detection, Opendesk, Helm chart, e2e tests - PROJECT_IDS=1448,2991,1317,560,2188,2155,2149,2235 # occmd-public, Covid19 fraud detection, Opendesk, Helm chart, e2e tests
- CORS_ORIGIN=* # Must be without quotes i.e. allow everything: * | originally https://sec-kpi.opencode.de - CORS_ORIGIN=* # Must be without quotes i.e. allow everything: * | originally https://sec-kpi.opencode.de
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.