Sign inSign up

joshbmarshall/cdev_phpfpm

By joshbmarshall

•Updated over 6 years ago

PHP FPM 5.6 for development

Image
0

807

joshbmarshall/cdev_phpfpm repository overview

⁠cdev_phpfpm

PHP FPM for development

⁠docker-compose example

  phpfpm:
    image: joshbmarshall/cdev_phpfpm
    restart: always
    links:
      - mariadb
      - mailhog
      - "nginx:$MY_DOMAIN_NAME"
    ports:
      - "9000:9000"
    env_file:
      - .env
    user: 1000:1000
    volumes:
      - ./public:/var/www
      - ~/.composer:/home/php/.composer
      - ~/.ssh/id_rsa:/home/php/.ssh/id_rsa
      - ~/.ssh/known_hosts:/home/php/.ssh/known_hosts

To build: docker build --cpu-period 50000 --cpu-quota=25000 -t joshbmarshall/cdev_phpfpm7 .

Tag summary

Content type

Image

Digest

Size

161 MB

Last updated

almost 8 years ago

docker pull joshbmarshall/cdev_phpfpm