spring-petclinic/docker-compose.yml
Patrick Baumgartner cefaf55dd1
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 1s
Java CI with Maven / build (17) (push) Failing after 1s
Deploy and Test Cluster / deploy-and-test-cluster (push) Successful in 1m20s
Downgrading to mysql 9.2
- MySQL 9.3 does not work with testcontainers 1.21.0. Database container terminates with errors

Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00

21 lines
488 B
YAML

services:
mysql:
image: mysql:9.2
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"
postgres:
image: postgres:17.5
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=petclinic
- POSTGRES_USER=petclinic
- POSTGRES_DB=petclinic