docker compose upThis will build and start all containers.
Visit http://localhost:8080
from celery_intro.tasks import *
say.delay("some message")
get_my_ip.delay()
retry_three_times.delay() # retry 3 timesRuns say.delay("repeat every 30 seconds...") every 30 seconds.
- http://localhost:8080 -
- http://localhost:8080/slow - 5s delay of the response
- http://localhost:8080/fast - Simple response
- http://localhost:8080/say/hello - Schedule celery task