diff --git a/.gitignore b/.gitignore index de2db1f..c0fe9d1 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ worktrees/ htmlcov/ creds.txt .tmp_mig.db -.tmp_pytest \ No newline at end of file +.tmp_pytest +db/ diff --git a/docker-compose.yml b/docker-compose.yml index 6b3d30c..446db60 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,8 @@ services: MARIADB_ROOT_PASSWORD: rootpass ports: - "3306:3306" + volumes: + - ./db:/var/lib/mysql healthcheck: test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-uroot", "-prootpass"] interval: 5s