-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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`.
- Loading branch information
Ruben Klink
committed
Apr 25, 2024
1 parent
8992b6c
commit 6114331
Showing
4 changed files
with
16 additions
and
0 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
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,13 @@ | ||
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