local dev environment using docker containers, defined in docker-compose
Mark Lightfoot aa6362c07b working docker-compose version. PHINX migration still required. | 5 anni fa | |
---|---|---|
db | 5 anni fa | |
src | 5 anni fa | |
.gitignore | 5 anni fa | |
.gitmodules | 5 anni fa | |
README.md | 5 anni fa | |
docker-compose.yaml | 5 anni fa |
All you need to do is run docker-compose up
. Changes are live from the src/ folder. Any DB changes arent saved in this version. set a folder to mount somewhere:/var/lib/mysql/:rw to persist; or edit the db init scripts to get what you want.
##prereqs docker (and associated prereqs for that) docker-compose
tested on fedora/centos fine. Should be fine with any *nix system.
##windows
Stop being weird, get linux.
It may work if you use win10's linux sub-system (WSL) - though I haven't used it personally so dont know how good it actually is.