-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
carrot just exits #74
Comments
Give me a few hours, will get a working docker container up for you |
Sweet, thanks! I picked up the old |
This turned out to be a bit trickier than I had anticipated. In our setup, we have a central Rabbit server, with a number of standalone dockerized django apps that connect to it, and this is very easy to implement. Actually running RabbitMQ inside the same container as the Django app caused a few more issues. However, I've managed to get a working example up here: django-carrot-docker Key things to note:
DEFAULT_BROKER = 'amqp://guest:guest@rabbit:5672/'
CARROT = {
'default_broker': DEFAULT_BROKER,
'queues': [
{
'name': 'default',
'host': DEFAULT_BROKER
}
]
}
Anyway, the example config seems to work, and provides an empty app with a dummy task for testing |
I'm trying to run carrot + django + postgres + rabbitmq in a docker-compose, but carrot just bails out successfully with exit code 0... My docker-compose.yml file looks like this
The container does not seem to produce any output whatsoever. There is no file in
/var/log/carrot.log
either. Please advice.I fixed up another simpler django-leek yesterday, but today I saw you had fixed some stuff with the migrations, etc, so I thought I'd give carrot another try as I like the monitor and so on. However, I cannot seem to get it running at all.
The text was updated successfully, but these errors were encountered: