mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 19:15:30 +00:00
Updating documentation to reflect the latest app settings changes.
This commit is contained in:
parent
66f422754b
commit
055ac761e3
@ -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
|
||||
|
@ -40,7 +40,6 @@
|
||||
|
||||
- Setting up a zone
|
||||
- Adding a record
|
||||
- <whatever else>
|
||||
|
||||
## Feature usage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user