Each Zuar WAF stores an environment variables file (env) that stores configuration and sensitive information as per 12factor methodology.

The env file is normally located in the home directory of the user running Docker. Example: /home/<user>/.env . Any changes to this file will require restarting Docker with:

docker-compose down
docker-compose up -d
Variable Value
DEBUG true|false
SECRET
<secret>
DATABASE_URL postgres://<username>:<password>@<database>/<DB name>
POSTGRES_DB <DB name>
POSTGRES_USER <username>
POSTGRES_PASSWORD <password>
TABLEAU_SERVER_URL <server_url e.g. https://tableau.yourdomain.com or https://us-east-1.online.tableau.com>
TABLEAU_SERVER_SITE <site name>
TABLEAU_SERVER_USERNAME <username>
TABLEAU_SERVER_PASSWORD <password>
TABLEAU_DATABASE_URL postgres://<username>:<password>@<database>/<DB name>
LOGIN_TEMPLATE /app/static/login.mako
TOKEN_EXPIRY 7200
PORTAL_ADMIN_USERNAME <username>
PORTAL_ADMIN_PASSWORD <password>

Environment Variables

General

  • DEBUG
  • SECRET
  • TOKEN_EXPIRY
  • LOGIN_TEMPLATE

Database

  • DATABASE_URL
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • TARGET_DATABASE_URL

Tableau

  • TABLEAU_SERVER_URL
  • TABLEAU_SERVER_SITE
  • TABLEAU_SERVER_USERNAME
  • TABLEAU_SERVER_PASSWORD

Related Tableau documentation:

Okta

  • OKTA_APP_EMBED_LINK
  • OKTA_TOKEN

Related Okta documentation.

Salesforce

  • SECRET
  • SIGNED_REQUEST_USERNAME

Related Salesforce documentation.