Ready for use in Laravel.
Basic image: alpine:latest
All images have DEV
or PROD
versions.
- 8.2-cli
- 8.2-fpm
- 8.3-cli
- 8.3-fpm
- 8.4-cli
- 8.4-fpm
docker pull ghcr.io/efureev/docker-php:8.3-fpm-prod-alpine
docker pull ghcr.io/efureev/docker-php:8.3-cli-dev-alpine
FROM ghcr.io/efureev/docker-php:8.3-fpm-prod-alpine
- bcmath
- igbinary
- intl
- opcache
- pcntl
- pdo_pgsql
- pgsql
- redis
- zip
- all PROD version`s exts
- excimer
- xdebug
- bash
- composer
- curl
- fcgi
- all PROD version`s tools
- git
Healthcheck included, bases on fcgi
.
Enable in docker compose:
app:
...
healthcheck:
test: [ 'CMD-SHELL', 'docker-healthcheck' ]
interval: 10s
timeout: 3s
retries: 3