A tool for configuring multiple container applications.
Configuring multiple Docker objects at once:
The Internet
+----------------+ +--------+ +---------+
| Leader Manager | | Manager | | Manager |
+----------------+ +--------+ +---------+
+--------+ +--------+ +--------+
| Worker | | Worker | | Worker |
+--------+ +--------+ +--------+
+-----+ +-----+
| NAS | | SAN |
+-----+ +-----+
A typical web application consists of several components. Each component has different requirements.
For example
+----------+
| Frontend |
+----------+
|
+----------+ +----------+
| Backend |---| Storage |
+----------+ +----------+
|
+----------+
| Database |
+----------+
The application is divided into components that communicate with each other
Better scaling
Easier development
Web application architecture
Separate frontend and backend
Interaction with the user
Serialization and communication protocols:
Application logic and state
Compose & Wordpress:
Php
Database
https://docs.docker.com/samples/wordpress/
https://hub.docker.com/_/wordpress
Folder with container state
The same application will run in different environments
It is not good to have configuration data in source codes
Application configuration:
How to implement the configuration in your application:
We separate:
Wordpress with HTTPS:
https://zactyh.medium.com/hosting-wordpress-in-docker-with-ssl-2020-fa9391881f3