summaryrefslogtreecommitdiffstats
path: root/portal-BE/src/main/resources
diff options
context:
space:
mode:
authorDominik Mizyn <d.mizyn@samsung.com>2019-09-02 13:37:43 +0200
committerDominik Mizyn <d.mizyn@samsung.com>2019-09-10 11:35:29 +0200
commitf51a049146c96181b43ca3f72c1cf715f07d24a9 (patch)
treef1462f34f0dc0d793ddc6faa7e3ab9d3d49fd675 /portal-BE/src/main/resources
parent0dd6f1189815079526c3f5211f01650bbe5e665b (diff)
Docker-compose up
Docker-compose for Portal-APP and MaridDB Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: I5031c524ef109da044f484555fb1319f2ad7092f Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
Diffstat (limited to 'portal-BE/src/main/resources')
-rw-r--r--portal-BE/src/main/resources/application.properties13
1 files changed, 9 insertions, 4 deletions
diff --git a/portal-BE/src/main/resources/application.properties b/portal-BE/src/main/resources/application.properties
index e31dcc30..30c0beeb 100644
--- a/portal-BE/src/main/resources/application.properties
+++ b/portal-BE/src/main/resources/application.properties
@@ -1,16 +1,21 @@
server.port=8080
-spring.datasource.url=jdbc:mysql://localhost:3306/testdb?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
+spring.datasource.url=jdbc:mysql://portal-db:3306/testdb?createDatabaseIfNotExist=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
spring.datasource.initialization-mode=always
spring.session.jdbc.initialize-schema=always
spring.datasource.continueOnError=true
-spring.datasource.username=root
-spring.datasource.password=root
+spring.datasource.username=portal
+spring.datasource.password=Test123456
+log4j.logger.org.hibernate=info
+
+#H2 config
+spring.h2.console.settings.web-allow-others=true
+spring.h2.console.enabled=true
spring.jpa.database-platform=org.hibernate.dialect.MariaDBDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.database=mysql
spring.jpa.show-sql=true
-spring.jooq.sql-dialect=MARIADB
+spring.jooq.sql-dialect=MARIADB \ No newline at end of file