fix: db connection
All checks were successful
Format / formatting (push) Successful in 7s
CI / build (push) Successful in 12s

This commit is contained in:
Théo Le Lez
2025-02-12 11:09:17 +01:00
parent e6565275c8
commit a8ae5f14d4
2 changed files with 5 additions and 4 deletions

View File

@ -2,9 +2,10 @@ spring.application.name=myinpulse
spring.security.oauth2.resourceserver.jwt.jwk-set-uri=http://localhost:7080/realms/test/protocol/openid-connect/certs
spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:7080/realms/test
logging.level.org.springframework.security=DEBUG
spring.datasource.url=jdbc:postgresql://postgres/${POSTGRES_DB}
spring.datasource.username=${POSTGRES_USER}
spring.datasource.password=${POSTGRES_PASSWORD}
#spring.datasource.url=jdbc:postgresql://postgres/${POSTGRES_DB}
spring.datasource.url=jdbc:postgresql://localhost:5433/backend_db
spring.datasource.username=backend_db_user
spring.datasource.password=backend_db_user_password
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect