nabeelio / phpvms

virtual airline management
http://www.phpvms.net
Other
169 stars 138 forks source link

Feature Request: Create Docker Image for "production" use #1815

Open Lapotor opened 3 months ago

Lapotor commented 3 months ago

Summary

This feature request proposes the creation and provision of an Docker image for phpvms. The introduction of an Docker image will streamline the setup process for users, offering a more convenient and standardized environment for running the software, alongside the existing development setup facilitated by Laravel Sail.

Context

Currently, phpvms supports two primary methods of setup:

  1. Development environment using Laravel Sail.
  2. Bare-metal setup as described in the project documentation.

While these methods are functional, the absence of an Docker image presents a barrier for users who prefer or require containerized environments for deployment and management. An Docker image would bridge this gap, enhancing the usability and adoption of phpvms.

Benefits

Conclusion

Providing an Docker image for phpvms will significantly enhance the user experience by simplifying the setup process and providing a reliable, consistent, and portable environment for managing virtual airlines. This addition aligns with modern development and deployment practices, ensuring phpvms remains accessible and easy to use for a broader audience.

nabeelio commented 3 months ago

Yeah, a production composer and Dockerfile is needed. I can work on this sometime based on a couple that I use. Reference

arthurpar06 commented 3 months ago

Yes, that would definitely be a good idea. We might also consider FrankenPHP (https://frankenphp.dev/), which is based on Caddy and acts as a replacement for PHP-FPM. The Laravel integration seems quite simple (don't focus on the part with Laravel Octane).

Lapotor commented 3 months ago

Why not just use the official php-fpm or php-apache as base?