From 11264e508d887a0f8e4317963c0ee032b551023d Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Tue, 25 Jan 2022 23:57:08 +0000 Subject: Add compose for MariaDB --- src/main/resources/application.properties | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main/resources') 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 -- cgit