| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Example of how to handle background processes with FastAPI, Celery, and Docker.
Check out the post.
Spin up the containers:
$ docker-compose up -d --buildOpen your browser to http://localhost:8004 to view the app or to http://localhost:5556 to view the Flower dashboard.
Trigger a new task:
$ curl http://localhost:8004/tasks -H "Content-Type: application/json" --data '{"type": 0}'Check the status:
$ curl http://localhost:8004/tasks/<TASK_ID>| Back | FazBrowse Home | New Git URL |