Files
docker-alpine-php83-aio/README.md
T

31 lines
1.1 KiB
Markdown
Raw Normal View History

2024-02-06 00:20:42 +01:00
# NoccyLabs PHP 8.3 Alpine All-in-One Base Image
2024-02-07 13:37:27 +01:00
This is an AIO container done mostly right. It contains Nginx, PHP 8.3 and FPM preconfigured. It also comes with a watchdog that ensures that a failure will bring down the container, allowing for self-healing by recreating containers.
2024-02-06 00:20:42 +01:00
2024-02-07 13:37:27 +01:00
## Features
* Nginx and PHP in a single container.
* Framework detection.
* Plenty of hooks.
## Frameworks
### Symfony
Symfony projects are detected from the `symfony.lock` file.
2024-12-02 13:16:57 +01:00
The support will ensure that composer is installed by checking for the presence of a *vendor* directory, and that the cache directories exist and are writable.
It will invoke the following hooks in the `/application/` directory if present:
- `.symfony-preinit` - invoked before the *vendor* directory check and any composer calls.
- `.symfony-init` - invoked after the *vendor* directory check.
2024-02-07 13:37:27 +01:00
#### BoltCMS
2024-12-02 13:16:57 +01:00
BoltCMS is detected and configured by the Symfony framework support script. For now, you should do your setup in the `.symfony-init` hook.
2024-02-07 13:37:27 +01:00
### Composer
2024-12-02 13:16:57 +01:00
While not a framework, as a last resort the presence of a `composer.json` file will trigger an install.