Sample Python/Celery application
$ docker-compose up
This application is composed of three containers:
- The Celery server which takes tasks and return result
- The Flask server which runs the webserver that sends tasks to the Celery server and display results
- A Redis server
The application will be available on http://localhost:3000
Deploying on Scalingo
Create an application on https://scalingo.com with a Redis addon, then:
git remote add scalingo email@example.com:<name_of_your_app>.git git push scalingo master
By default Scalingo only launches your web container. To launch your worker container, you'll need to go to your dashboard and set your worker container amount to 1.
And that's it!
The application is running at this URL: https://sample-python-celery.scalingo.io