Skip to content

Commit

Permalink
[fix] No named volume for database persistent state
Browse files Browse the repository at this point in the history
Use an anonymous volume instead, for compatibility with Rancher Desktop for Mac (which unlike Docker Desktop, won't let your containers wield superuser file privilges)
  • Loading branch information
Dominique Quatravaux committed Oct 31, 2022
1 parent 2dd68bd commit c51dd82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
ports:
- 3306:3306
volumes:
- ./volumes/db:/var/lib/mysql
- /var/lib/mysql

phpmyadmin:
image: phpmyadmin/phpmyadmin
Expand Down

0 comments on commit c51dd82

Please sign in to comment.