Add database

This commit is contained in:
2025-01-22 16:36:05 +01:00
parent 28ddd5307c
commit d2c7b2b485
3 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,13 @@
spring:
application:
name: swisssign-challenge
name: swisssign-challenge
datasource:
url: jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5432}/${DB_NAME:swisssignchallenge}
username: ${DB_USER:dev}
password: ${DB_PASSWORD:password}
driver-class-name: org.postgresql.Driver
jpa:
hibernate:
ddl-auto: update # Adjust as needed
show-sql: true
database-platform: org.hibernate.dialect.PostgreSQLDialect