summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorleo <azuminha1@gmail.com>2025-09-27 14:31:52 -0300
committerleo <azuminha1@gmail.com>2025-09-27 14:31:52 -0300
commit1a3a6f83cc9ef2af8fed16775dce209feb8391ab (patch)
treeb31220eeaa0f6519ab3c5e51eebe394a425cf06c /src/main/resources
tentativaHEADmaster
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.properties10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 0000000..86ad97b
--- /dev/null
+++ b/src/main/resources/application.properties
@@ -0,0 +1,10 @@
+spring.application.name=backend
+spring.datasource.url=jdbc:postgresql://postgres:5432/${DB}
+spring.datasource.username=${DB_USER}
+spring.datasource.password=${DB_PASSWORD}
+
+spring.threads.virtual.enabled=true
+
+spring.jpa.hibernate.ddl-auto=update
+spring.jpa.show-sql=false
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect