alibgang / FagottinoSite

SCB - FagottinoSite
1 stars 0 forks source link

Setup mounted volume for mysql persistent data #6

Open colbynh opened 5 years ago

colbynh commented 5 years ago
# volumes:
# - .msqldata:/var/lib/mysql  #had this working initially but seems to get corrupt need to look into more
colbynh commented 5 years ago

The mysql container gets mount at - /sql/datadir:/var/lib/mysql

But if we have restart the stack this causes a error and corrupts the mounted drive. I would prefer we migrate to postgre as this should be simple and plays much nice with docker environments.

See misc google docs for details on this issue.