To use Phalcon with docker, we make use of these images.
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.2 from registry, all you need to execute is: docker pull nyanpass/phalcon
Here's a sample docker-compose.yml
web:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./src:/src
- ./nginx.conf:/etc/nginx/conf.d/default.conf
links:
- php
php:
image: nyanpass/phalcon
volumes:
- ./src:/var/www/html
where nginx.conf is default nginx config file and is located in same directory as docker-compose.yml
Content type
Image
Digest
Size
126.3 MB
Last updated
over 8 years ago
docker pull nyanpass/phalcon