PowerDNS-Admin/configs
Matt Scott 84677e7ccf Wrapping up Docker overhaul. This consequently resulted in the configuration system getting some modifications as well. Here is a brief on the changes;
- Added environment variable / setting key tracking files at powerdnsadmin/env/*.env that serve for automatic type conversion when loading app settings from environment variables. Also used for manual change tracking during project cleanup.
- Updated the app config loading process to make use of a config utility that loads app config settings from environment variables replacing the legacy implementation
- Cleaned up the configs directory files and moved the default configuration file from powerdnsadmin/default_config.py to configs/default.py.
- Removed all current defaults from the default config file at configs/default.py as a move toward standardizing on Docker deployments for all environments
- Started the migration of some legacy app settings / environment variables into the new PDA_ namespace. Added backwards compatibility to specific locations that were changed such as the main run.py file.
- Overhauled some of the documentation, I specifically updated primary README.md file and also added docs/docker.md and docs/settings.md
- Completely overhauled the Docker implementation to include two production ready images based on Alpine 3.14 and Debian 11.1-slim.
- Separated Docker image templating files from deployment files within the docker directory.
- Added Docker image building script at docker/bin/build-image and a release building script at docker/bin/create-release
- Added shared Docker image asset files to docker/shared directory such as entrypoint script and auto-init database schemas
- Docker container has option to automatically initialize chosen database on first run
- Docker container has option to wait for MySQL server to be online before starting
- Docker container has option to wait for PDNS API server authorization test to pass before starting
- Docker container running Flask in development environment will automatically rebuild flask assets during startup if feature enabled
- Docker container will automatically run Python test unit during startup if feature enabled
- Dramatically improved the build effeciency, maintainability, and startup time of the Docker images
2021-12-08 03:52:06 -05:00
..
default.py Wrapping up Docker overhaul. This consequently resulted in the configuration system getting some modifications as well. Here is a brief on the changes; 2021-12-08 03:52:06 -05:00
development.py Wrapping up Docker overhaul. This consequently resulted in the configuration system getting some modifications as well. Here is a brief on the changes; 2021-12-08 03:52:06 -05:00
test.py default config: add exemplary URL encoding step for SQLA DB URL params 2021-11-30 22:29:00 +01:00