PowerDNS-Admin/.dockerignore
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

114 lines
1.4 KiB
Plaintext

### OSX ###
*.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
.pytest_cache/
nosetests.xml
coverage.xml
*.cover
.hypothesis/
# Translations
*.mo
*.pot
# Flask stuff:
flask/
instance/settings.py
.webassets-cache
# Scrapy stuff:
.scrapy
# celery beat schedule file
celerybeat-schedule.*
# Node
node_modules
npm-debug.log
# Docker
Dockerfile*
docker-compose*
.dockerignore
docker/.autoinit
# Git
.git
.gitattributes
.gitignore
# Vscode
.vscode
*.code-workspace
# Others
.lgtm.yml
.travis.yml