Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/efureev/docker-php
https://github.com/efureev/docker-php
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/efureev/docker-php
- Owner: efureev
- Created: 2024-01-26T21:54:12.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-06-29T14:12:21.000Z (5 months ago)
- Last Synced: 2024-06-30T12:21:22.756Z (5 months ago)
- Language: Smarty
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# PHP in Docker
Ready for use in Laravel.
Basic image: `alpine:latest`
## Images version
All images have `DEV` or `PROD` versions.
## Images list
- 8.2-cli
- 8.2-fpm
- 8.3-cli
- 8.3-fpm## Use
```shell
docker pull ghcr.io/efureev/docker-php:8.3-fpm-prod-alpine
docker pull ghcr.io/efureev/docker-php:8.3-cli-dev-alpine
``````dockerfile
FROM ghcr.io/efureev/docker-php:8.3-fpm-prod-alpine
```## Containers
- https://github.com/efureev/docker-php/pkgs/container/docker-php
## PHP Ext List
### PROD version
- bcmath
- igbinary
- intl
- opcache
- pcntl
- pdo_pgsql
- pgsql
- redis
- zip### DEV version
- all PROD version`s exts
- [excimer](https://pecl.php.net/package/excimer)
- xdebug## Tools
### PROD version
- bash
- composer
- curl
- fcgi### DEV version
- all PROD version`s tools
- git## NB
Healthcheck included, bases on `fcgi`.
Enable in docker compose:```dockerfile
app:
...
healthcheck:
test: [ 'CMD-SHELL', 'docker-healthcheck' ]
interval: 10s
timeout: 3s
retries: 3
```