Updating documentation to reflect the latest app settings changes.

This commit is contained in:
Matt Scott 2023-04-14 19:38:54 -04:00
parent 66f422754b
commit 055ac761e3
No known key found for this signature in database
GPG Key ID: A9A0AFFC0E079001
2 changed files with 4 additions and 5 deletions

View File

@ -55,10 +55,10 @@ This creates a volume named `pda-data` to persist the default SQLite database wi
1. Update the configuration 1. Update the configuration
Edit the `docker-compose.yml` file to update the database connection string in `SQLALCHEMY_DATABASE_URI`. Edit the `docker-compose.yml` file to update the database connection string in `SQLALCHEMY_DATABASE_URI`.
Other environment variables are mentioned in Other environment variables are mentioned in
the [legal_envvars](https://github.com/PowerDNS-Admin/PowerDNS-Admin/blob/master/configs/docker_config.py#L5-L46). the [AppSettings.defaults](https://github.com/PowerDNS-Admin/PowerDNS-Admin/blob/master/powerdnsadmin/lib/settings.py) dictionary.
To use the Docker secrets feature it is possible to append `_FILE` to the environment variables and point to a file To use a Docker-style secrets convention, one may append `_FILE` to the environment variables with a path to a file
with the values stored in it. containing the intended value of the variable (e.g. `SQLALCHEMY_DATABASE_URI_FILE=/run/secrets/db_uri`).
Make sure to set the environment variable `SECRET_KEY` to a long random Make sure to set the environment variable `SECRET_KEY` to a long, random
string (https://flask.palletsprojects.com/en/1.1.x/config/#SECRET_KEY) string (https://flask.palletsprojects.com/en/1.1.x/config/#SECRET_KEY)
2. Start docker container 2. Start docker container

View File

@ -40,7 +40,6 @@
- Setting up a zone - Setting up a zone
- Adding a record - Adding a record
- <whatever else>
## Feature usage ## Feature usage