Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerization added. #165

Open
wants to merge 1 commit into
base: 3.16.x
Choose a base branch
from

Conversation

muthukumaran-muthiah
Copy link

Q A
Documentation yes
Bugfix no
BC Break no
New Feature yes
RFC no
QA no

Description

The Mezzio Skeleton application currently does not have built-in support for Dockerization. This means developers need to manually configure their own Dockerfiles and potentially other Docker-related files to run the application within a containerized environment.

Adding Dockerization support to the Mezzio Skeleton application offers several significant benefits:

Simplified Development and Deployment: Docker provides a consistent and isolated environment for development and deployment, making it easier to manage dependencies, configurations, and avoid conflicts between different projects or environments.
Improved Portability: Docker containers can be easily moved and run across different environments (development, testing, staging, production) with minimal modifications, ensuring consistent behavior.
Enhanced Scalability: Docker containers can be easily scaled horizontally by running multiple instances of the application within separate containers.
Improved Resource Utilization: Docker's lightweight nature and efficient resource allocation allow for better utilization of server resources.
Best Practices: By including Dockerization in the Skeleton application, it promotes best practices for containerization within the Mezzio ecosystem.

This addition will enable developers to:

  • Quickly and easily containerize Mezzio applications based on the Skeleton.
  • Leverage the benefits of Docker for development, testing, and deployment.
  • Start with a pre-configured Docker setup and customize it to their specific needs.
  • Benefit from a consistent and reproducible environment for their Mezzio projects.

Developers can use the provided Dockerfile and docker-compose.yml files as a starting point for their own projects. They can:

  • Build a Docker image using the provided Dockerfile.
  • Run the application using Docker Compose.
  • Customize the Dockerfiles and configurations to suit their specific requirements (e.g., adding environment variables, mounting volumes, configuring Nginx).
  • Use the Dockerized application for development, testing, and deployment.

@froschdesign
Copy link
Member

@muthukumaran-muthiah
Please rebase otherwise the builds will fail.
Thanks in advance! 👍🏻

@froschdesign froschdesign added Enhancement New feature or request Review Needed labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Review Needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants