Skip to content
Snippets Groups Projects
Verified Commit cbcd9e0d authored by Lucas Briese's avatar Lucas Briese
Browse files

chore: DB_PORT is a default env variable in k8s for service db and can't be set by us

parent 5fc265c9
No related branches found
No related tags found
1 merge request!52feat/trivyEndpoint
......@@ -31,7 +31,6 @@ services:
- PORT=${PORT}
- DB_USER=${DB_USER}
- DB_NAME=${DB_NAME}
- DB_PORT=${DB_PORT}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
- ADMIN_USERNAME=${ADMIN_USERNAME}
- HMAC_KEY=${HMAC_KEY}
......
......@@ -60,7 +60,7 @@ opencode.api.base-path=https://sl.dev.o4oe.de/api/v1/project/
opencode.api.toolService=${TOOL_SERVICE_FULL_URL}
opencode.api.auth=https://sl.dev.o4oe.de/api/receive-session/
# Database Settings
spring.datasource.url=jdbc:postgresql://${host}:${DB_PORT}/${DB_NAME}?sslmode=disable&user=root
spring.datasource.url=jdbc:postgresql://${host}:26257/${DB_NAME}?sslmode=disable&user=root
spring.jpa.hibernate.ddl-auto=create-drop
# Import local .env
spring.config.import=optional:classpath:.env[.properties]
......
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.