dockhippie / pretalx

Docker images for Pretalx
https://hub.docker.com/r/webhippie/pretalx
MIT License
1 stars 0 forks source link

wait-for-it: waiting 60 seconds for redis #1

Closed mxmehl closed 6 years ago

mxmehl commented 6 years ago

I tried out your pretalx docker image today. Unfortunately I can't get it started it seems.

$ docker run --name pretalx webhippie/pretalx
Creating data directory...
Creating media directory...
Creating logs directory...
Creating static directory...
Fix data permission...
Writing pretalx config...
Waiting for celery...
wait-for-it: waiting 60 seconds for redis:6379
Fix data permission...
Writing pretalx config...
Waiting for celery...
wait-for-it: waiting 60 seconds for redis:6379

The last 4 lines are repeated endlessly, even for more than 60 seconds. What did I do wrong? Thanks for any help!

tboerger commented 6 years ago

You have to link pretalx to redis which have to provide 3 databases. You can use the following env variables to customize the connection:

PRETALX_REDIS_HOST redis
PRETALX_REDIS_PORT 6379
PRETALX_REDIS_DB 0
PRETALX_CELERY_HOST redis
PRETALX_CELERY_PORT 6379
PRETALX_CELERY_BACKENDDB 1
PRETALX_CELERY_BROKERDB 2
lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.