Skip to content

Commit

Permalink
Fix MariaDB local storage structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Wolf committed Jun 12, 2024
1 parent 8a0e9e9 commit 53d66d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.idea
.phpunit.cache
.DS_Store
mariadb/data/*
mariadb/logs/*
mariadb/conf/*
!mariadb/data/.gitignore
!mariadb/logs/.gitignore
!mariadb/conf/.gitignore
docker/mariadb/data/*
docker/mariadb/logs/*
docker/mariadb/conf/*
!docker/mariadb/data/.gitignore
!docker/mariadb/logs/.gitignore
!docker/mariadb/conf/.gitignore
vendor
6 changes: 3 additions & 3 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ services:
working_dir: /app
volumes:
- ".:/app"
- "./mariadb/data:/var/lib/mysql"
- "./mariadb/logs:/var/log/mysql"
- "./mariadb/conf:/etc/mysql"
- "./docker/mariadb/data:/var/lib/mysql"
- "./docker/mariadb/logs:/var/log/mysql"
- "./docker/mariadb/conf:/etc/mysql"
environment:
MARIADB_ROOT_PASSWORD: "${MARIADB_ROOT_PASSWORD}"
MARIADB_DATABASE: "${MARIADB_DATABASE}"
Expand Down

0 comments on commit 53d66d8

Please sign in to comment.