Skip to content

Instantly share code, notes, and snippets.

@rwestergren
Created December 17, 2024 13:17
Show Gist options
  • Save rwestergren/2d04254dd1a5314d9e4d416c0b58a7fe to your computer and use it in GitHub Desktop.
Save rwestergren/2d04254dd1a5314d9e4d416c0b58a7fe to your computer and use it in GitHub Desktop.
Deploy Celery Flower on Dokku
dokku apps:create flower
dokku redis:link redis-qa flower # link to redis
dokku config:set flower \
DOKKU_DOCKERFILE_START_CMD="/bin/sh -c 'exec celery --broker=\$REDIS_URL flower --port=\5555'" # Use the `REDIS_URL` from the linked service
dokku ports:set flower http:5555:5555 # Internal testing only, make sure to set auth and/or firewall
dokku git:from-image flower mher/flower:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment