Sign inSign up

antonchernik/php-fpm-xdebug

By antonchernik

•Updated about 5 years ago

Image
0

1.6K

antonchernik/php-fpm-xdebug 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-xdebug:7.4.3-ubuntu-amd64
    ports:
    - "9000:9000"
    volumes:
      - ./:/var/www/html
      - ./etc/php/conf.d/php-dev.ini:/usr/local/etc/php/conf.d/php-dev.ini
      - ./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
⁠File php-dev.ini example
xdebug.remote_autostart=off
xdebug.remote_connect_back=0
xdebug.remote_handler=dbgp
xdebug.profiler_enable=0
xdebug.remote_host="docker.for.win.host.internal"
xdebug.remote_log = "/var/log/xdebug.log"
xdebug.remote_enable=1
xdebug.remote_port=9001
memory_limit = -1
⁠Run with command:

docker-compose up -d

⁠Stop with command:

docker-compose down

⁠Build with:
  • libgearman-dev
  • git
  • unzip
  • xdebug
  • Gearman PECL extension
  • Redis PECL extension
  • Memcached PECL extension
  • Symfony CLI


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

Tag summary

Content type

Image

Digest

Size

276.4 MB

Last updated

about 5 years ago

docker pull antonchernik/php-fpm-xdebug