diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2022-01-25 23:57:08 +0000 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2022-01-25 23:57:08 +0000 |
| commit | 11264e508d887a0f8e4317963c0ee032b551023d (patch) | |
| tree | c6d3601cf6f01892c9763686e3f72b18f918c875 /src/main/resources | |
| parent | fee02c8d30869f93a8bb8ac13609bb43d08e08fa (diff) | |
| download | pantry-11264e508d887a0f8e4317963c0ee032b551023d.tar.gz pantry-11264e508d887a0f8e4317963c0ee032b551023d.tar.bz2 pantry-11264e508d887a0f8e4317963c0ee032b551023d.zip | |
Add compose for MariaDB
Diffstat (limited to 'src/main/resources')
| -rw-r--r-- | src/main/resources/application.properties | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 8b13789..da7f829 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,6 @@ - +spring.jpa.hibernate.ddl-auto=create-drop +spring.datasource.url=jdbc:mysql://${MARIADB_HOST:localhost}:3306/pantry-db +spring.datasource.driver-class-name=org.mariadb.jdbc.Driver +spring.datasource.username=pantry-user +spring.datasource.password=i2j9ds0g +spring.jpa.show-sql=true |
