diff --git a/corn-backend/src/main/resources/application.yml b/corn-backend/src/main/resources/application.yml index e69de29b..e591cd91 100644 --- a/corn-backend/src/main/resources/application.yml +++ b/corn-backend/src/main/resources/application.yml @@ -0,0 +1,20 @@ +server: + port: 8080 + +spring: + datasource: + url: ${SPRING_DATASOURCE_URL} + username: ${POSTGRES_USER} + password: ${POSTGRES_PASSWORD} + + jpa: + hibernate: + ddl-auto: create-drop + show-sql: true + properties: + hibernate: + jdbc: + lob: + non_contextual_creation: true + dialect: org.hibernate.dialect.PostgreSQLDialect + format_sql: true