The Docker Configuration Wizard helps you quickly configure and prepare a Docker-based environment for KituKizuri, generating the required setup automatically based on your selected options.
Docker configuration wizard
The Docker Configuration Wizard helps you quickly configure and prepare a Docker-based environment for KituKizuri, generating the required setup automatically based on your selected options.
Database Selection
The screen above shows the first step of the Docker Configuration Wizard.
At this stage, KituKizuri prompts you to select the database engine that will be used by the application. The wizard presents a list of supported databases and highlights the currently selected option.
You can navigate through the options using the keyboard and confirm your selection to continue with the Docker environment setup. This choice determines which database service and related configuration will be generated automatically.
Database Configuration
After selecting the database engine, the wizard guides you through the database configuration process.
During this step, you will be prompted to define the required connection details, such as the database name, user credentials. Based on your inputs, KituKizuri automatically generates the appropriate Docker and application configuration to ensure the database service is correctly connected to the application.
Once completed, the wizard proceeds to the next configuration step.
Multiple Database Configuration
Once the initial database configuration is completed, the wizard allows you to configure additional database engines.
This makes it possible to define more than one database service within the same environment, depending on the needs of the project. Each configured database is added to the Docker setup and prepared for use by the application.
You can continue adding database configurations or proceed to the next step of the wizard when finished.
Port Configuration
In this step, the wizard prompts you to configure the network ports used by the environment.
This includes:
Database ports, which allow access to the configured database services.
Nginx ports, which define how the application is exposed locally or within the network.
The selected ports are applied to the Docker configuration to avoid conflicts and ensure proper communication between services. Default values are provided, but they can be adjusted to match your local setup or organizational standards.
Configuration Applied
Once the configuration process is completed, all selected settings are automatically applied to the project configuration files.
The wizard updates the following files:
docker-compose.yml, defining the required services and ports..env, applying the environment-specific values..env.example, reflecting the expected configuration for future environments.