Comments (8)
Your backgrounded task (sentry celery worker -B &
) is just another celery worker and celery beat; and could break since there is not an init process in the container to monitor secondary process (ie not really the "docker way"). I am not sure if your plain celery containers are even working since that backgrounded task was a new celery worker and would thus make the warning go away.
It seems that there must be more happening with the celery embedded with sentry vs running plain celery with a redis url. Have you tried running the embedded celery in separate containers?
docker run -d --name log-analyser-celery-beat --link some-redis:redis sentry sentry celery beat
docker run -d --name log-analyser-celery-worker1 --link some-redis:redis sentry sentry celery worker
from docs.
The worker seems to also need postgres. I got it working using the following.
docker run -d --name celery-beat --link redis:redis --link postgres:postgres -e CELERY_BROKER_URL=redis://redis sentry sentry celery beat
docker run -d --name celery-worker1 --link redis:redis --link postgres:postgres -e CELERY_BROKER_URL=redis://redis sentry sentry celery worker
from docs.
@aheuermann, is there not a way to run plain celery workers (ie the celery
image) or do they have to be celery that is included with sentry? What extra configuration is being done to them by sentry?
Also, you shouldn't need CELERY_BROKER_URL
when using the embedded celery since it is setup in docker-links.conf.py.
from docs.
@yosifkit & @aheuermann both suggestions didn't work.
from docs.
@yosifkit I don't know much about celery (or the internals of sentry for that matter). I'm guessing it needs the sentry code packaged with it though as that is where the tasks are defined. Also, I found some celery config here.
from docs.
/cc @mattrobenolt, the new maintainer of the sentry image! 😄
from docs.
I'm going to be making this easier soon. :) So hang in there while we take over.
from docs.
If this is still an issue, reopen under https://github.com/getsentry/docker-sentry/issues
/cc @yosifkit can you close this? :)
from docs.
Related Issues (20)
- What means "rc" (lower case) in image tag? HOT 2
- Install extension on creation HOT 1
- Document issues with postgresql, K8s, and transparent huge pages HOT 1
- README.md typo (missing space after flag) HOT 3
- Can't run postgis client container HOT 1
- Configure InfluxDB to use TLS HOT 1
- Request: adding Docker health check to `postgres/README.md` HOT 6
- Version tags for additional packages HOT 1
- mariadb logo change, in repo, not on hub HOT 6
- Official Image hub does not have latest tags HOT 1
- Upgrade to 28.0.2 problem
- Improve instructions for installing the required `bashbrew` HOT 4
- docker pull tianon/markdownfmt error: "no matching manifest for linux/arm64/v8..." HOT 1
- new env for auto configuration via environment variables for ldapUserCleanupInterval
- Docker : Postgres doesn't respond to outside request HOT 1
- Error in https://hub.docker.com/r/amd64/ros HOT 2
- PostgreSQL: Document how a dependent service/container should detect when the database has started HOT 5
- Nginx examples should use stable version HOT 5
- Dicker
- Add support for dark mode logo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.