Test with test containers and docker compose

This commit is contained in:
Dave Syer 2023-04-14 12:09:34 +01:00
parent cf6d44b045
commit 3c1ef72e6d
7 changed files with 304 additions and 2 deletions

View file

@ -13,6 +13,8 @@ services:
- MYSQL_DATABASE=petclinic
volumes:
- "./conf.d:/etc/mysql/conf.d:ro"
profiles:
- mysql
postgres:
image: postgres:15.3
ports:
@ -21,3 +23,5 @@ services:
- POSTGRES_PASSWORD=petclinic
- POSTGRES_USER=petclinic
- POSTGRES_DB=petclinic
profiles:
- postgres