Skip to content

RayBB/coolify-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coolify-flask

I wanted to understand how I can deploy a flask app to coolify simply, without making my own dockerfile.

Coolify uses Nixpacks so that was the main thing to know.

Here's what you need to know:

First, create a nixpacks.toml to specify the start command.

Second, you'll probably want to use gunicorn or similar. Something like gunicorn -w 4 -b 0.0.0.0:3000 main:app.

Third, turn on GitHub webhooks and healthchecks in the coolify UI.

To run this locally: uv run gunicorn -w 4 -b 0.0.0.0:3000 main:app

Overall, pretty simple once you understand all the parts.

About

Lets deploy from GH to Coolify with flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages