718 B
718 B
LEMP Stack Improvements
PHP-FPM Pools
- Copy custom pools from host to
/etc/php/8.2/fpm/pool.d/
- Ensure host-mounted pools override defaults
- Add validation to check pool syntax on startup
System Configuration
- Optimize package installation:
- Skip
apt-get update
when installing downloaded packages
- Skip
- Configure system locales (e.g.,
en_US.UTF-8
)
Technical Debt
- Code refactor:
- Set correct ownership and permissions for all mount points. Such as www-data, mysql.
- Modularize Dockerfiles (base vs. production)
- Implement health checks for services
- Clean up obsolete scripts
help-menu
- Use docker compose folder as dynamic name