Skip to content
Snippets Groups Projects
Commit 6905e38c authored by trisberg's avatar trisberg Committed by Dave Syer
Browse files

Make MySQL configuration files/docs consistent

- use petclinic as the db name and root password

Fixes #322
parent dd5b080d
No related branches found
No related tags found
No related merge requests found
mysql:
image: mysql
image: mysql:5.7
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=test
- MYSQL_ROOT_PASSWORD=petclinic
- MYSQL_DATABASE=petclinic
volumes:
- "./conf.d:/etc/mysql/conf.d:ro"
\ No newline at end of file
- "./conf.d:/etc/mysql/conf.d:ro"
# database init, supports mysql too
database=mysql
spring.datasource.url=jdbc:mysql://localhost/test
spring.datasource.url=jdbc:mysql://localhost/petclinic
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.password=petclinic
# Uncomment this the first time the app runs
# spring.datasource.initialization-mode=always
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment