Browse Source

add data persistence

master
Jared Smith 3 years ago
parent
commit
6cc1ce3cc6
  1. 2
      mariadb/docker-compose.yml

2
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

Loading…
Cancel
Save