put mysql datadir in a volume

and some other randomness
fix could not shell in without disabling entrypoint