After running docker container, you will can edit your app in ./app folder,
all changes will be immediately sync with container and app will be available at http://127.0.0.1
- ./app - your application code
- ./mysql - all your mysql databases
- ./logs - all Apache logs
-
wget -qO- https://get.docker.com/ | sh
-
place your code in ./app folder
-
build docker image
docker-compose build
-
run docker container
docker-compose up -d
-
open
http://127.0.0.1