local dev environment using docker containers, defined in docker-compose
Mark Lightfoot aa6362c07b working docker-compose version. PHINX migration still required. | 5 jaren geleden | |
---|---|---|
db | 5 jaren geleden | |
src | 5 jaren geleden | |
.gitignore | 5 jaren geleden | |
.gitmodules | 5 jaren geleden | |
README.md | 5 jaren geleden | |
docker-compose.yaml | 5 jaren geleden |
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.