Flisk vs Docker Compose and Tilt
Flisk generates a Compose file and a Tiltfile and runs them for you.
| Task | Flisk Local dev stack | Docker Compose Local containers | Tilt Live-update loop |
|---|---|---|---|
| Scaffold a service | flisk resource api --type backend |
Different job, closest command.
docker initWrites Dockerfile and compose.yaml for a project, not one service. |
|
| Start everything | docker compose up |
||
| Live reload on change | docker compose up --watchNeeds develop.watch rules in compose.yaml. |
tilt uplive_update in the Tiltfile syncs files without a rebuild. |
|
| Start one service or stack | flisk up --only api |
docker compose up apiAlso starts linked services. |
|
| Wait until healthy | tilt wait --for=condition=Ready "uiresource/api"Experimental. Blocks until the resource is Ready. |
||
| See what is running | flisk status |
docker compose ps |
tilt get uiresources |
| Read one service's logs | flisk logs -s api |
docker compose logs -f api |
tilt logs -f api |
| Restart one service | flisk restart api |
docker compose restart apiDoes not apply compose file changes. |
tilt trigger apiTriggers an update; may rebuild the resource. |
| Run a command in a service | No equivalent
|
docker compose exec api sh |
Different job, closest command.
tilt alpha shell apiAlpha. Opens a shell only, in a Kubernetes pod. |
| Show service URLs | flisk networks |
Different job, closest command.
docker compose port api 80Prints the public port for one mapping, not a URL. |
No equivalent
Links are set in the Tiltfile and shown in the UI. |
| Check the config | flisk config verify |
docker compose config -q |
Different job, closest command.
tilt alpha tiltfile-resultAlpha. Runs the Tiltfile and prints the result as JSON. |
| Stop | flisk down |
docker compose down |
tilt down |
No task matches. Try a shorter search.
- Same job
- Different job: closest command, not a swap
- Blank: no equivalent
- Hover a cell for ↗︎ source and i note. Click a command to copy it.