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
Edit the `docker-compose.yml` file to update the database connection string in `SQLALCHEMY_DATABASE_URI`.
Other environment variables are mentioned in
the [legal_envvars](https://github.com/PowerDNS-Admin/PowerDNS-Admin/blob/master/configs/docker_config.py#L5-L46).
To use the Docker secrets feature it is possible to append `_FILE` to the environment variables and point to a file
with the values stored in it.
Make sure to set the environment variable `SECRET_KEY` to a long random
the [AppSettings.defaults](https://github.com/PowerDNS-Admin/PowerDNS-Admin/blob/master/powerdnsadmin/lib/settings.py) dictionary.
To use a Docker-style secrets convention, one may append `_FILE` to the environment variables with a path to a file
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
string (https://flask.palletsprojects.com/en/1.1.x/config/#SECRET_KEY)
2. Start docker container

View File

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