mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-24 19:32:48 +00:00

- Update Spring Boot release, Checkstyle, Mysql. - Formatting pom.xml with sortpom-maven-plugin. - Rename README to standard file name. - Adding GitHub Action for Gradle.
25 lines
547 B
YAML
25 lines
547 B
YAML
services:
|
|
mysql:
|
|
image: mysql:9.1
|
|
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"
|
|
profiles:
|
|
- mysql
|
|
postgres:
|
|
image: postgres:17.0
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
- POSTGRES_PASSWORD=petclinic
|
|
- POSTGRES_USER=petclinic
|
|
- POSTGRES_DB=petclinic
|
|
profiles:
|
|
- postgres
|