Sign inSign up

antonchernik/php-fpm

By antonchernik

•Updated about 5 years ago

Image
0

620

antonchernik/php-fpm repository overview

⁠PHP FPM

⁠How to use this image
⁠File docker-compose.yml example
version: "2.1"
services:
  php-fpm:
    container_name: php-fpm
    image: antonchernik/php-fpm:7.4.3-ubuntu-amd64
    ports:
    - "9000:9000"
    volumes:
      - ./:/var/www/html
      - ./etc/php/php-fpm.d/zz-docker.conf:/usr/local/etc/php-fpm.d/zz-docker.conf
    networks:
      app_net:
        ipv4_address: 172.1.1.3
networks:
  app_net:
    driver: bridge
    enable_ipv6: false
    ipam:
      driver: default
      config:
      - subnet: 172.1.1.0/24
⁠File zz-docker.conf example
[global]
daemonize = no
[www]
listen = 0.0.0.0:9000
⁠Run with command:

docker-compose up -d

⁠Stop with command:

docker-compose down


* 7.4.3-ubuntu-amd64 Dockerfile (library/php-fpm/7.4/ubuntu-amd64/Dockerfile)⁠
Trivy security report (library/php-fpm/7.4/ubuntu-amd64/trivy.txt)⁠

Tag summary

Content type

Image

Digest

Size

192.1 MB

Last updated

about 5 years ago

docker pull antonchernik/php-fpm