Skip to content
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

Add a docker-compose file with celery #48

Open
peschmae opened this issue Sep 22, 2020 · 1 comment
Open

Add a docker-compose file with celery #48

peschmae opened this issue Sep 22, 2020 · 1 comment

Comments

@peschmae
Copy link

To make the most out of lemur, it's nice to have celery running (so you can use ACME auto-renewal for example).
The current docker-compose file, only starts the lemur, nginx, and psql containers, but it would be nice, to also have a docker-compose file, where the celery beat & workers as well as redis are started as well.

This needs it's own lemur config file, since we need to add the celery & redis configuration, as well as three new pods.

I currently have a setup with a multistage build, where the celery pods, are based on the lemur pod, but without the static files.
As I'm not sure, if it's intended to update the docker-compose version to 3.4, to make use of the multistage build, I'll need to refactor it, to reuse the current lemur file, and just override the start script & command.

@peschmae
Copy link
Author

My current implementation can be found at peschmae/lemur-docker/tree/feature/celery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant