1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00
wakapi/testing/docker-compose.yml
2022-12-27 20:41:18 +11:00

43 lines
902 B
YAML

version: '3.7'
services:
postgres:
image: postgres:15
environment:
POSTGRES_USER: "wakapi"
POSTGRES_PASSWORD: "wakapi"
POSTGRES_DB: "wakapi"
PGPORT: 55432
network_mode: host
volumes:
- wakapi-postgres:/var/lib/postgresql/data
mysql:
image: mysql:8
environment:
MYSQL_TCP_PORT: 53306
MYSQL_USER: "wakapi"
MYSQL_PASSWORD: "wakapi"
MYSQL_DATABASE: "wakapi"
MYSQL_ROOT_PASSWORD: example
network_mode: host
volumes:
- wakapi-mysql:/var/lib/mysql
mariadb:
image: mariadb:10
environment:
MYSQL_TCP_PORT: 53306
MARIADB_USER: "wakapi"
MARIADB_PASSWORD: "wakapi"
MARIADB_DATABASE: "wakapi"
MARIADB_ROOT_PASSWORD: example
network_mode: host
volumes:
- wakapi-mariadb:/var/lib/mysql
volumes:
wakapi-postgres: {}
wakapi-mysql: {}
wakapi-mariadb: {}