Small and convenient phalcon alpine image which contains needful modules: nginx, phalcon, fpm7
You can either build the image yourself with the docker file which is hosted on this repository simply by doing a docker build <directoryname>
Alternatively you can also pull a image from docker.io. For example to pull php-fpm for php7 from registry, all you need to execute is: docker pull chai65/alpine-phalcon-nginx
Here's a sample docker-compose.yml
web:
image: chai65/alpine-phalcon-nginx
ports:
- "8080:80"
volumes:
- ./src:/src
- ./nginx.conf:/etc/nginx/conf.d/default.conf
where nginx.conf
is default nginx
config file and is located in same directory as docker-compose.yml