maciejtrybula / dockerfiles

Phalcon Docker Files

Home Page:https://phalconphp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phalcon Dockerfiles

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 from registry, all you need to execute is: docker pull phalconphp/php-fpm:7

Using for development

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: phalconphp/php-fpm:7-min
  volumes:
      - ./src:/var/www/html

where nginx.conf is default nginx config file and is located in same directory as docker-compose.yml

About

Phalcon Docker Files

https://phalconphp.com

License:Other


Languages

Language:Shell 50.3%Language:Makefile 49.7%