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_APPRequiredFlask application entry point
-
FLASK_ENVFlask environment (development/production)
-
FLASK_DEBUGDebug mode toggle
-
FLASK_RUN_HOSTDev server host
-
FLASK_RUN_PORTDev server port
-
FLASK_RUN_CERTSSL certificate for HTTPS dev server
-
FLASK_RUN_KEYSSL key for HTTPS dev server
-
SECRET_KEYRequiredSession secret key
-
DATABASE_URLDatabase connection URL
-
SQLALCHEMY_DATABASE_URISQLAlchemy database connection URI
Official Flask docs: flask.palletsprojects.com