-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken
./gradlew test
and ./gradlew bootRun
commands because …
…of missing MySQL jdbc driver (#58) * Make sure the MySQL jdbc driver is included Add additional settings for the initial directory also works and does not error with `./gradlw test` or `./gradlew bootRun`. * Fix docker-compose.yml files * Added mysql connector for maven --------- Co-authored-by: Ruben Klink <=> Co-authored-by: Robert McNees <[email protected]>
- Loading branch information
Showing
7 changed files
with
41 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
mysql: | ||
image: mysql | ||
ports: | ||
- "3306:3306" | ||
expose: | ||
- "3306" | ||
environment: | ||
- MYSQL_USER=springuser | ||
- MYSQL_PASSWORD=ThePassword | ||
- MYSQL_DATABASE=db_example | ||
- MYSQL_ROOT_PASSWORD=root | ||
volumes: | ||
- "./conf.d:/etc/mysql/conf.d:ro" | ||
services: | ||
mysql: | ||
image: mysql | ||
ports: | ||
- "3306:3306" | ||
expose: | ||
- "3306" | ||
environment: | ||
- MYSQL_USER=springuser | ||
- MYSQL_PASSWORD=ThePassword | ||
- MYSQL_DATABASE=db_example | ||
- MYSQL_ROOT_PASSWORD=root | ||
volumes: | ||
- "./conf.d:/etc/mysql/conf.d:ro" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
services: | ||
mysql: | ||
image: mysql | ||
ports: | ||
- "3306:3306" | ||
expose: | ||
- "3306" | ||
environment: | ||
- MYSQL_USER=springuser | ||
- MYSQL_PASSWORD=ThePassword | ||
- MYSQL_DATABASE=db_example | ||
- MYSQL_ROOT_PASSWORD=root | ||
volumes: | ||
- "./conf.d:/etc/mysql/conf.d:ro" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters