Last active
June 14, 2018 20:30
-
-
Save jmaroeder/9e8677bc8821842954a9c2343c93cfc4 to your computer and use it in GitHub Desktop.
Socket closed error in celery worker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '2' | |
| services: | |
| worker: | |
| build: . | |
| depends_on: | |
| - rabbitmq | |
| rabbitmq: | |
| image: rabbitmq:alpine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM alpine | |
| RUN apk add --no-cache build-base python3 python3-dev | |
| RUN pip3 install celery eventlet | |
| CMD celery -b amqp://rabbitmq worker -P eventlet --loglevel=DEBUG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment