You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
563 B
YAML
28 lines
563 B
YAML
10 months ago
|
version: "2.2"
|
||
|
|
||
|
services:
|
||
|
mysql:
|
||
|
image: mysql:8.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"
|
||
|
profiles:
|
||
|
- mysql
|
||
|
postgres:
|
||
|
image: postgres:16.1
|
||
|
ports:
|
||
|
- "5432:5432"
|
||
|
environment:
|
||
|
- POSTGRES_PASSWORD=petclinic
|
||
|
- POSTGRES_USER=petclinic
|
||
|
- POSTGRES_DB=petclinic
|
||
|
profiles:
|
||
|
- postgres
|