2022-12-24 03:38:43 +02:00
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
db:
|
2023-01-08 15:05:11 +02:00
|
|
|
container_name: mariadb-main
|
2022-12-24 03:38:43 +02:00
|
|
|
image: mariadb
|
|
|
|
restart: always
|
|
|
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
|
|
|
volumes:
|
2023-03-10 14:19:54 +02:00
|
|
|
- /mnt/data/mysql:/var/lib/mysql
|
2022-12-24 03:38:43 +02:00
|
|
|
environment:
|
|
|
|
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}
|
|
|
|
- MARIADB_DATABASE=${MARIADB_DATABASE}
|
|
|
|
- MARIADB_USER=${MARIADB_USER}
|
|
|
|
- MARIADB_PASSWORD=${MARIADB_PASSWORD}
|
|
|
|
|
|
|
|
adminer:
|
2023-01-08 15:05:11 +02:00
|
|
|
container_name: mariadb-adminer
|
2022-12-24 03:38:43 +02:00
|
|
|
image: adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
2023-03-12 15:37:59 +02:00
|
|
|
- 8082:8080
|