diff --git a/mariadb/docker-compose.yml b/mariadb/docker-compose.yml index 131125e..8d6e5d0 100644 --- a/mariadb/docker-compose.yml +++ b/mariadb/docker-compose.yml @@ -5,6 +5,8 @@ services: restart: always ports: - 3306:3306 + volumes: + - /var/mariadb-data/_data:/var/lib/mysql environment: - MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD} command: --log-bin --binlog-format=MIXED --log-basename=1000 --server-id=1000