Falcon project that returns an celery result based on the taskid passed.
1.0K
Docker and docker-compose installed and working.
Clone the repository, create an .env file with the following env vars:
After that, bring the project up by using the command docker-compose up -d; you can now verify an result by viewing the url localhost:5000/results/task_id.
If something is not quite right, you can see the logs of the application through the command docker-compose logs app.
An docker-compose.dev.yml is present in the root dir, you can use in the startup through the following command:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
The src folder will be mounted as a bind volume in the /usr/src/folder inside the container.
You can run the tests through the following commands:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
docker-compose exec app python -m pytest tests.py
Content type
Image
Digest
Size
106.7 MB
Last updated
over 7 years ago
docker pull gcavalcante8808/celery-results-reader