2022-12-27 06:39:32 +03:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
image: postgres:15
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "wakapi"
|
|
|
|
POSTGRES_PASSWORD: "wakapi"
|
|
|
|
POSTGRES_DB: "wakapi"
|
2022-12-27 12:37:53 +03:00
|
|
|
PGPORT: 55432
|
2022-12-27 07:35:11 +03:00
|
|
|
network_mode: host
|
2022-12-27 06:39:32 +03:00
|
|
|
volumes:
|
|
|
|
- wakapi-postgres:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
mysql:
|
|
|
|
image: mysql:8
|
|
|
|
environment:
|
2022-12-27 12:37:53 +03:00
|
|
|
MYSQL_TCP_PORT: 53306
|
2022-12-27 06:39:32 +03:00
|
|
|
MYSQL_USER: "wakapi"
|
|
|
|
MYSQL_PASSWORD: "wakapi"
|
|
|
|
MYSQL_DATABASE: "wakapi"
|
|
|
|
MYSQL_ROOT_PASSWORD: example
|
2022-12-27 07:35:11 +03:00
|
|
|
network_mode: host
|
2022-12-27 06:39:32 +03:00
|
|
|
volumes:
|
|
|
|
- wakapi-mysql:/var/lib/mysql
|
|
|
|
|
|
|
|
mariadb:
|
|
|
|
image: mariadb:10
|
|
|
|
environment:
|
2022-12-27 12:37:53 +03:00
|
|
|
MYSQL_TCP_PORT: 53306
|
2022-12-27 06:39:32 +03:00
|
|
|
MARIADB_USER: "wakapi"
|
|
|
|
MARIADB_PASSWORD: "wakapi"
|
|
|
|
MARIADB_DATABASE: "wakapi"
|
|
|
|
MARIADB_ROOT_PASSWORD: example
|
2022-12-27 07:35:11 +03:00
|
|
|
network_mode: host
|
2022-12-27 06:39:32 +03:00
|
|
|
volumes:
|
|
|
|
- wakapi-mariadb:/var/lib/mysql
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
wakapi-postgres: {}
|
|
|
|
wakapi-mysql: {}
|
|
|
|
wakapi-mariadb: {}
|