spring-petclinic/docker-compose.yml
Dave Syer 5d57e0d5e2 Re-organise mysql scripts so the app runs without root access
It works better that way with test containers and in k8s.
2020-01-03 05:29:11 -05:00

12 lines
271 B
YAML

mysql:
image: mysql:5.7
ports:
- "3306:3306"
environment:
- 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"