mysql access for ci

This commit is contained in:
Bossanyi Tibor 2020-05-10 10:58:18 +02:00
parent 192905be71
commit 9fd319e8be
3 changed files with 1 additions and 3 deletions

View File

@ -2,7 +2,6 @@ services:
- mysql:latest
stages:
- build
- prepare
- test
- deploy

1
gradlew.bat vendored
View File

@ -85,7 +85,6 @@ set CMD_LINE_ARGS=%*
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
echo JAVA_OPTS: %JAVA_OPTS%
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end

View File

@ -2,7 +2,7 @@ spring.profiles.active=deploy
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
#spring.datasource.url = jdbc:mysql://localhost:3306/aitrainer?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false
spring.datasource.url = jdbc:mysql://mysql:3306/aitrainer?serverTimezone=CET&useSSL=false&characterEncoding=UTF-8&allowPublicKeyRetrieval=true&allowMultiQueries=true
spring.datasource.username = aitrainer
spring.datasource.username = root
spring.datasource.password = andio2009