mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
Merge pull request #221 from jpmurray/persis-database
[Docker] Dive the direction to persist database on the host rather than a volume if desired
This commit is contained in:
@ -22,6 +22,9 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- 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:
|
environment:
|
||||||
MYSQL_USER: crater
|
MYSQL_USER: crater
|
||||||
MYSQL_PASSWORD: crater
|
MYSQL_PASSWORD: crater
|
||||||
|
|||||||
Reference in New Issue
Block a user