Docker image based on:
- Ubuntu 16.04
- Phalcon 3
- PHP 7
- Nginx + PHP FPM
- Supervisord
Docker. For installation instructions check https://docs.docker.com/engine/installation/
- To change the mapped port look in shell.bash run function.
- Default mapped port is 8888.
- Check /build directory for PHP and Nginx tweaking.
bash shell.bash local deploy
This will build the base image and run the container interactively. Check http://localhost:8888
bash shell.bash local shell
bash shell.bash local deploy daemon
This will build the base image and run the container daemonized. Check http://localhost:8888
bash shell.bash local stop
###Start the container
bash shell.bash local start
You can edit user@host configuration in shell.bash script and use the same syntax to do quick remote deploys. Make sure you SSH is in remote host authorized_keys file.
bash shell.bash remote deploy daemon
bash shell.bash remote logs