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
[global]
daemonize = no
[www]
listen = 0.0.0.0:9000
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
docker-compose up -d
docker-compose down
* 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)
Content type
Image
Digest
Size
276.4 MB
Last updated
about 5 years ago
docker pull antonchernik/php-fpm-xdebug