Skip to content

Commit

Permalink
fix: import .env variables from file
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Jul 9, 2024
1 parent 3a70c3c commit 746eaab
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
spring.config.import=optional:file:../../.env[.properties]

spring.application.name=OpenID Federation

spring.datasource.url=jdbc:postgresql://localhost:5432/openid-federation-db
spring.datasource.username=openid-federation-db-user
spring.datasource.password=openid-federation-db-password
spring.datasource.url=${DATASOURCE_URL}
spring.datasource.username=${DATASOURCE_USER}
spring.datasource.password=${DATASOURCE_PASSWORD}
spring.datasource.driver-class-name=org.postgresql.Driver

# Mapping /actuator/health to /status
Expand Down

0 comments on commit 746eaab

Please sign in to comment.