From a74e5d1453de05242d974ffc62bc4e1696964f12 Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Sun, 17 May 2026 21:16:19 +0100 Subject: [PATCH] build(properties): missing properties for db --- src/main/resources/application-dev.properties | 6 +++++- src/main/resources/application.properties | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index aa67d31..e76e4fd 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -1,4 +1,8 @@ spring.datasource.url=jdbc:postgresql://postgres:5432/vodSystem spring.datasource.username=${POSTGRES_USER} spring.datasource.password=${POSTGRES_PASSWORD} -spring.datasource.driver-class-name=org.postgresql.Driver \ No newline at end of file +spring.datasource.driver-class-name=org.postgresql.Driver +spring.jpa.hibernate.ddl-auto=update +spring.jpa.show-sql=true +spring.sql.init.mode=always +spring.sql.init.schema-locations=classpath:db/schema.sql \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index b3ac3a0..228cf73 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,7 +6,7 @@ spring.servlet.multipart.max-file-size=2GB spring.servlet.multipart.max-request-size=2GB storage.temp.inputs=videos/inputs/ storage.temp.outputs=videos/outputs/ -storage.outputs=outputs/ +storage.outputs=${MEDIA_DATA} ## Security spring.security.oauth2.client.registration.google.client-id=${GOOGLE_CLIENT_ID}