Skip to content
Snippets Groups Projects
Commit e56c75de authored by Lars Johansson's avatar Lars Johansson
Browse files

Merge branch 'env-file-config' into 'main'

Env file config

See merge request ics-software/naming-backend!2
parents 64c8fa76 b15ee2fe
No related branches found
No related tags found
1 merge request!2Env file config
Pipeline #116115 passed
......@@ -10,10 +10,13 @@ server.port=8083
spring.profiles.active=@spring.profiles.active@
#Use ENV file
spring.config.import=optional:file:.env[.properties]
# datasource
spring.datasource.url=jdbc:postgresql://postgres:5432/discs_names
spring.datasource.username=discs_names
spring.datasource.password=discs_names
spring.datasource.url=${NAMING_DATABASE_URL:jdbc:postgresql://postgres:5432/discs_names}
spring.datasource.username=${NAMING_DATABASE_USERNAME:discs_names}
spring.datasource.password=${NAMING_DATABASE_PASSWORD:discs_names}
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=none
......
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