ADD database integration & ADD simple dummy user entity

This commit is contained in:
2025-06-12 22:23:10 +02:00
parent f79beadb09
commit fa120fe7b5
7 changed files with 70 additions and 5 deletions

View File

@@ -7,13 +7,16 @@ temp.vod.storage=videos/inputs/
temp.vod.output=videos/outputs/
# Database
spring.datasource.url=jdbc:postgresql://localhost:5432/mydb
spring.datasource.url=jdbc:postgresql://postgres:5432/vodSystem
spring.datasource.username=myuser
spring.datasource.password=mypassword
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.sql.init.mode=always
spring.sql.init.schema-locations=classpath:db/schema.sql
spring.sql.init.data-locations=classpath:db/data.sql
# Logging
logging.level.org.springframework.web=DEBUG