mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 09:27:27 +00:00
Test with test containers and docker compose
This commit is contained in:
parent
cf6d44b045
commit
3c1ef72e6d
7 changed files with 304 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue