Skip to content
Snippets Groups Projects
Verified Commit 2fb1ca04 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[Docker] Remove support for custom commands from entrypoint

Celery can now be started together with uWSGI if one wants to do that
parent 9a9d4f05
No related branches found
No related tags found
1 merge request!525[Docker] Rewrite entrypoint
......@@ -22,12 +22,4 @@ aleksis-admin collectstatic --no-input --clear
aleksis-admin migrate
aleksis-admin createinitialrevisions
ARG=${1:-uwsgi}
if [ $ARG = "celery_worker" ]; then
exec celery -A aleksis.core worker -l info
elif [ $ARG = "celery_beat" ]; then
exec celery -A aleksis.core beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler
else
exec aleksis-admin runuwsgi http=$HTTP_PORT
fi
exec aleksis-admin runuwsgi http=$HTTP_PORT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment