Skip to content

Instantly share code, notes, and snippets.

@jmaroeder
Last active June 14, 2018 20:30
Show Gist options
  • Select an option

  • Save jmaroeder/9e8677bc8821842954a9c2343c93cfc4 to your computer and use it in GitHub Desktop.

Select an option

Save jmaroeder/9e8677bc8821842954a9c2343c93cfc4 to your computer and use it in GitHub Desktop.
Socket closed error in celery worker
version: '2'
services:
worker:
build: .
depends_on:
- rabbitmq
rabbitmq:
image: rabbitmq:alpine
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