Skip to content
Snippets Groups Projects

Single Logical File for build setup

Merged Jan-Niclas Strüwer requested to merge build/singleLogicalFile into chore/use-spring-config-import
5 files
+ 32
29
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -52,6 +52,35 @@ spring.datasource.driver-class-name=org.postgresql.Driver
# Generates db schema if it doesn't exist in db
spring.jpa.generate-ddl=true
spring.jpa.show-sql=false
#---
spring.config.activate.on-profile=local
opencode.host=https://gitlab.opencode.de/
opencode.analyze-private-repos=true
# Tool APIs
opencode.api.base-path=https://sl.dev.o4oe.de/api/v1/project/
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.jpa.hibernate.ddl-auto=create-drop
# Import local .env
spring.config.import=optional:classpath:.env[.properties]
#---
spring.config.activate.on-profile=dev
# Config for the OpencoDE platform
opencode.host=https://gitlab.dev.o4oe.de/
opencode.analyze-private-repos=true
# Tool APIs
opencode.api.base-path=https://sl.dev.o4oe.de/api/v1/project/
opencode.api.auth=https://sl.dev.o4oe.de/api/
# Database Settings
spring.datasource.url=jdbc:postgresql://${host}:${DB_PORT}/${DB_NAME}?sslmode=disable&user=root
spring.jpa.hibernate.ddl-auto=update
# Import profile specific properties (Default is prod)
spring.config.import=optional:file:${SPRING_PROFILE}.properties
#---
spring.config.activate.on-profile=prod
Loading

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.