diff options
| author | Szymon Szukalski <szymon@skas.io> | 2024-07-25 10:23:47 +1000 |
|---|---|---|
| committer | Szymon Szukalski <szymon@skas.io> | 2024-07-25 10:23:47 +1000 |
| commit | 7be6f97a98429485ff35b12798bdb8e7b8facf19 (patch) | |
| tree | a9f844c7658a68eb5316a8df1470a86d86a6473d /src/main | |
| parent | c459e7d5abd66d7bcf38e151aa2632fcb139f4f5 (diff) | |
Containerise application and switch to PostgreSQL
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/resources/application.properties | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 788b1a5..42e8f9a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,11 +1,12 @@ spring.application.name=markr -# H2 Database configuration -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.h2.console.path=/h2-console +# PostgreSQL Configuration +spring.datasource.url=jdbc:postgresql://localhost:5432/markr +spring.datasource.username=markr_prod +spring.datasource.password=CpfzDA3nR3jH9Ky4 +spring.datasource.driver-class-name=org.postgresql.Driver + +# Hibernate Configuration +spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect spring.jpa.hibernate.ddl-auto=update +spring.jpa.show-sql=false
\ No newline at end of file |
