celery -A worker
In this case this becomes
celery -A celery_service worker
Celery beat
is the candidate to be started when you want to execute periodic tasks.
celery -A celery_service beat
kill -9 $(ps aux | grep celery | grep -v grep | awk '{print $2}' | tr '\n' ' ') > /dev/null 2>&1
Start container with name, username and password
docker run --name -e RABBITMQ_DEFAULT_USER= -e RABBITMQ_DEFAULT_PASS= -p :5672 rabbitmq
Start container with name, password and volume to mount to
docker run -d --name -e POSTGRES_PASSWORD= -v :/var/lib/postgresql/data -p :5432 postgres
Automatically generate migration
alembic revision --autogenerate -m "Add notification model"
Apply generated migration
alembic upgrade head