php 8.3.9 image
761
Repository: https://github.com/JohnnyWorks-TW/docker-php83-fpm
Docker php83-fpm-alpine image, based on alpine image.
DockerHub repository: https://hub.docker.com/r/johnnyworks/php83-fpm-alpine
You can set your website up by using docker-compose
Here is sample of docker-compose.yml
version: '3.7'
services:
nginx:
image: nginx:mainline-alpine-slim
restart: always
ulimits:
nofile:
soft: 10240
hard: 10240
ports:
- '80:80'
volumes:
- ./www:/data
- ./conf:/etc/nginx/conf.d
links:
- phpfpm
logging:
driver: 'json-file'
options:
max-file: '2'
max-size: '2m'
networks:
- default
phpfpm:
image: johnnyworks/php83-fpm-alpine:latest
restart: always
ulimits:
nofile:
soft: 10240
hard: 10240
volumes:
- ./www:/data
- ./php.ini:/usr/local/etc/php/php.ini
- ./phpfpm.conf:/usr/local/etc/php-fpm.d/www.conf
logging:
driver: 'json-file'
options:
max-file: '2'
max-size: '2m'
networks:
- default
networks:
default:
Put correspond files to following path
and www folder for web root.
then using commands to start your web server.
# docker-compose up -d
Content type
Image
Digest
sha256:4c6af6caa…
Size
273.3 MB
Last updated
about 2 years ago
docker pull johnnyworks/php83-fpm-alpine