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