Skip to content

Commit

Permalink
deploy: Backend environment variables for datasource connection
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanni-orciuolo committed Feb 13, 2024
1 parent 97e8616 commit b4c62ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions IT/codekatabattle/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
server.port=8000

spring.datasource.url=jdbc:postgresql://localhost:5432/codekatabattle
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.url=${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/codekatabattle}
spring.datasource.username=${SPRING_DATASOURCE_USERNAME:postgres}
spring.datasource.password=${SPRING_DATASOURCE_PASSWORD:postgres}
spring.datasource.hikari.minimumIdle=5
spring.datasource.hikari.maximumPoolSize=500
spring.datasource.hikari.connectionTimeout=30000
Expand Down

0 comments on commit b4c62ed

Please sign in to comment.