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
|
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
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
|
|
||||||
- Setting up a zone
|
- Setting up a zone
|
||||||
- Adding a record
|
- Adding a record
|
||||||
- <whatever else>
|
|
||||||
|
|
||||||
## Feature usage
|
## Feature usage
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user