mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
give the option to persist the database to the host
This commit is contained in:
@ -21,6 +21,9 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
# If you want to persist data on the host, comment the line above this one...
|
||||
# and uncomment the line under this one.
|
||||
#- ./docker-compose/db/data:/var/lib/mysql:rw,delegated
|
||||
environment:
|
||||
MYSQL_USER: crater
|
||||
MYSQL_PASSWORD: crater
|
||||
|
||||
Reference in New Issue
Block a user