% WAIVERDB (1) Container Image Pages % Dan Callaghan dcallagh@redhat.com % June 2017

NAME

WaiverDB - Service for waiving results in ResultsDB

DESCRIPTION

This container provides the WaiverDB web application only. The application is stateless and does not require any volumes, however you must configure it to connect to a suitable Postgres database for data persistence.

USAGE

Create a directory or Docker volume to hold configuration for the WaiverDB service. This volume should be mounted as /etc/waiverdb inside the container. It must contain one file, settings.py. You can find an example configuration in /usr/share/doc/waiverdb/conf/settings.py.example or view it online.

The default container entrypoint starts the web application on port 8080.

docker run -p 8080:8080 -v waiverdb-config:/etc/waiverdb:ro waiverdb

ENVIRONMENT VARIABLES

DATABASE_PASSWORD=<secret> The database password WaiverDB should use when connecting to its database. If this is set, it overrides any password provided in the DATABASE_URI setting in /etc/waiverdb/settings.py.

FLASK_SECRET_KEY=<secret> Secret key used for various cryptographic purposes within the Flask framework. This value must be unique per deployment, and not disclosed to anyone. If this is set, it overrides any value provided in the SECRET_KEY setting in /etc/waiverdb/settings.py.

SEE ALSO

WaiverDB project
WaiverDB documentation