Framework support

Dotvault for Flask

Dotvault for Flask projects.

Flask is one of the frameworks Dotvault detects automatically. Point Dotvault at your project folder and it'll identify Flask from your package manifest, surface the common environment variables it uses, and give you the visual editor, snapshot history, and diff tools you need to manage them properly.

What you get

  • Automatic detection of Flask from your project's manifest.
  • Visual editor with syntax highlighting, validation, and smart warnings.
  • Snapshot history so you can roll back any change.
  • Diff view across environments to catch drift.
  • Works entirely on your Mac — no accounts, no cloud, no CLI required.

Known environment variables

Dotvault recognises these variables when you open a Flask project and surfaces helpful descriptions and warnings in the editor. Flask is detected via `flask` in requirements.txt or pyproject.toml.

  • FLASK_APP Required

    Flask application entry point

  • FLASK_ENV

    Flask environment (development/production)

  • FLASK_DEBUG

    Debug mode toggle

  • FLASK_RUN_HOST

    Dev server host

  • FLASK_RUN_PORT

    Dev server port

  • FLASK_RUN_CERT

    SSL certificate for HTTPS dev server

  • FLASK_RUN_KEY

    SSL key for HTTPS dev server

  • SECRET_KEY Required

    Session secret key

  • DATABASE_URL

    Database connection URL

  • SQLALCHEMY_DATABASE_URI

    SQLAlchemy database connection URI

Official Flask docs: flask.palletsprojects.com