Skip to content
Snippets Groups Projects
README.md 780 B

Configuration

To enable the debug mode, set the environment variable FLASK_ENV to development.

export FLASK_ENV=development
# or
docker login-provider:latest build . && docker run -e FLASK_ENV=development login-provider

You can do the same with the following variables.

  • FLASK_SECRET_KEY A secret key that will be used for securely signing the session cookie.
  • FLASK_RUN_HOST IP Address that the server will open a socket on. Default: 0.0.0.0
  • FLASK_RUN_PORT Port of the socket that the server will listen on. Default: 5000
  • GRAPHQL_URL URL to the server that runs the graphql backend API Default: http://localhost:5002/graphql
  • HYDRA_ADMIN_URL URl to the Hydra admin server Default: http://localhost:4445