commit c36b0ec0b374dd8ccbee3a6044ee7e3f1fefe368 Author: Nicholas Koben Kao <kobenkao@gmail.com> Date: Thu Jan 25 17:54:54 2024 -0800 nits on wording and removing link to broken storage/:id page commit 0777fdcf7b0002244bc713199d3d64eea6b6061e Author: Nicholas Koben Kao <kobenkao@gmail.com> Date: Thu Jan 25 17:23:55 2024 -0800 builder update config and such commit 958b795bb2b6ac27ce33c5729ef265b068420e1a Author: Nicholas Koben Kao <kobenkao@gmail.com> Date: Thu Jan 25 17:23:43 2024 -0800 rename all from checkponit to model commit 7a9c5636e73bd005499b141a4dd382db5672c962 Author: Nicholas Koben Kao <kobenkao@gmail.com> Date: Thu Jan 25 16:51:59 2024 -0800 rename for consistency commit 48bebbafab9a95388817df97c15f8ea97e0fea75 Author: Nicholas Koben Kao <kobenkao@gmail.com> Date: Thu Jan 25 16:18:36 2024 -0800 bulider commit 81dacd9af457886f2f027994d225a7748c738abb Author: Nicholas Koben Kao <kobenkao@gmail.com> Date: Thu Jan 25 16:17:56 2024 -0800 different types of models
Modal Builder
This is a standalone docker fast api app that will takes in require snapshot of the machine and build it as a new modal apps and returns back the deployment url.
Environment variable, get it from you modal accounts
MODAL_TOKEN_ID=
MODAL_TOKEN_SECRET=
To run locally
docker build -t bennykok/comfydeploy-builder:dev . && docker run --env-file .env -p 8080:8080 bennykok/comfydeploy-builder:dev
Before Deploy to Fly.io
Fly.io installation
Mac/Liunx
If you have the Homebrew package manager installed
brew install flyctl // mac only
If not, you can run the install script
curl -L https://fly.io/install.sh | sh
Window
Run the PowerShell install script
pwsh -Command "iwr https://fly.io/install.ps1 -useb | iex"
Set Env Key into Fly.io
fly secrets set MODAL_TOKEN_ID=
fly secrets set MODAL_TOKEN_SECRET=
To deploy
// model-builder/fly.toml
app = <APP_NAME>
if you're first time deploy, run this
fly launch
if not, run this instead
fly deploy