mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 17:37:27 +00:00
Re-organise mysql scripts so the app runs without root access
It works better that way with test containers and in k8s.
This commit is contained in:
parent
f9424b548a
commit
5d57e0d5e2
5 changed files with 17 additions and 15 deletions
|
|
@ -3,7 +3,10 @@ mysql:
|
|||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=petclinic
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
- MYSQL_ALLOW_EMPTY_PASSWORD=true
|
||||
- MYSQL_USER=petclinic
|
||||
- MYSQL_PASSWORD=petclinic
|
||||
- MYSQL_DATABASE=petclinic
|
||||
volumes:
|
||||
- "./conf.d:/etc/mysql/conf.d:ro"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue