You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several ways to run PowerDNS-Admin. The quickest way is to use Docker.
If you are looking to install and run PowerDNS-Admin directly onto your system, check out
the wiki for ways to do that.
Docker
Here are two options to run PowerDNS-Admin using Docker.
To get started as quickly as possible, try option 1. If you want to make modifications to the configuration option 2 may
be cleaner.
Option 1: From Docker Hub
To run the application using the latest stable release on Docker Hub, run the following command:
This creates a volume named pda-data to persist the default SQLite database with app configuration.
Option 2: Using docker-compose
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 AppSettings.defaults 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)