---
title: "Flask apps run properly, with gunicorn and the key store"
description: "Flask 3.1 on In a Box runs on gunicorn, watched by supervisord, with its own Python from uv, keys from the key store and a test for each new route."
url: https://in-a-box.online/webdev/sites/flask/
---
1.  [In a Box](https://in-a-box.online/)
2.  [Kits](https://in-a-box.online/kits/)
3.  [WebDev (in a box)](https://in-a-box.online/webdev/)
4.  [Site stacks](https://in-a-box.online/webdev/sites/)
5.  [Flask](https://in-a-box.online/webdev/sites/flask/)

# Flask, without the hand cranking.

Flask ships small and leaves the production setup to you. In a Box supplies the application server, the process manager and a place for settings that is not the code.

![The Flask logo on a dark Karkinos background.](https://in-a-box.online/img/stack-flask.webp)

## What Flask leaves out

Lots of internal tools and APIs are written in Flask, and lots are kept alive by someone restarting them. Here gunicorn serves the app, supervisord watches it, and a crash means a restart rather than a phone call. Flask 3.1.3 was tested this way on 24 October 2026.

## Keys live in the key store

Keys move into the [key store](https://in-a-box.online/your-data/#keys) and reach the app as settings. Any that sat in git are flagged for changing.

## New routes arrive with a test

An endpoint is written on the dev copy alongside its test, run with `uv run pytest`, then tried with a real request or in a browser.

## Bringing an app across

The app comes over with its requirements, gets its own Python from uv and its own address, and is checked before the switch. A database is added only if the app needs one.

MORE IN SITE STACKS

-   [Site stacks: the overview](https://in-a-box.online/webdev/sites/)
-   [Astro](https://in-a-box.online/webdev/sites/astro/)
-   [Craft CMS](https://in-a-box.online/webdev/sites/craft/)
-   [Django](https://in-a-box.online/webdev/sites/django/)
-   [Drupal](https://in-a-box.online/webdev/sites/drupal/)
-   [Joomla](https://in-a-box.online/webdev/sites/joomla/)
-   [Laravel](https://in-a-box.online/webdev/sites/laravel/)
-   [Next.js](https://in-a-box.online/webdev/sites/nextjs/)
-   [Plain PHP](https://in-a-box.online/webdev/sites/php/)
-   [Plain HTML](https://in-a-box.online/webdev/sites/plain-html/)
-   [Statamic](https://in-a-box.online/webdev/sites/statamic/)
-   [WordPress](https://in-a-box.online/webdev/sites/wordpress/)

## Run for you in the cloud, from £250 a month.

[See the plans](https://in-a-box.online/pricing/#plans)[Get in touch](https://in-a-box.online/contact/)
