How ricardohitalo/frank-server works
Main Components
• Linux Server (host machine): The physical or virtual machine where Docker and Docker Compose run.
• Docker Engine: The container runtime on the host.
• Docker Compose: The orchestration tool defined in the docker-compose.yml.
• MySQL Container: Provides the database service.
• Apache/PHP Container: Hosts the Wordpress instance.
• PHPMyAdmin Container: Offers an interface to manage the MySQL database.
Relationships and Interactions
• The Linux server acts as the host for Docker.
• Docker Compose manages the lifecycle and networking of the containers.
• The Apache/PHP container (with Wordpress) communicates with the MySQL container to store and retrieve website data.
• The PHPMyAdmin container also connects to the MySQL container to allow for database management.
• Optionally, indicate any networking bridges created by Docker (e.g., shared internal Docker network) that allow containers to communicate.
Architectural Patterns and Design Principles
• Containerization: The project is fully containerized using Docker for modularity and easy deployment.
• Service isolation: Each service (database, web server, admin tool) is isolated in its own container to enhance maintainability.
• Orchestration: Docker Compose is used to define and manage the relationship and runtime settings of the containers.
Relevant Technologies
• Linux: The underlying operating system.
• Docker & Docker Compose: Containerization and orchestration.
• MySQL: The relational database service used by Wordpress.
• Apache & PHP: The web server environment, including PHP support that runs Wordpress.
• Wordpress: The CMS installed within the Apache/PHP container.
• PHPMyAdmin: The web-based MySQL administration tool.