Deploy Flask on Deplexo
Deplexo detects Flask from your dependencies and configures gunicorn as the production WSGI server.
How it works
- Push your repo to GitHub, GitLab, Bitbucket, or Codeberg.
- Deplexo reads
requirements.txtand detects the Flask dependency, then sets gunicorn as the start command. - Your app starts on its subdomain. Build and runtime logs stream to the dashboard.
Configuration
Add deplexo.yaml to your repo root. Adjust the app module path to match your project.
framework: python
install: pip install -r requirements.txt
start: gunicorn --bind 0.0.0.0:$PORT app:app
port: 5000What you get
- Automatic subdomain (your-app.deplexo.com) provisioned on first deploy.
- Build logs streamed live from the worker.
- Runtime logs accessible from the Logs tab.
- Environment variables managed in the dashboard, encrypted at rest, injected at runtime.
- Git webhooks trigger automatic redeploys on push.