Skip to content

Commit 6d5c30e

Browse files
fix: set celery queue
1 parent e153e84 commit 6d5c30e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

services/docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,20 +1163,21 @@ services:
11631163
TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT: ${TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT}
11641164
TRACING_OPENTELEMETRY_COLLECTOR_PORT: ${TRACING_OPENTELEMETRY_COLLECTOR_PORT}
11651165

1166-
no-worker:
1166+
not-worker:
11671167
image: ${DOCKER_REGISTRY:-itisfoundation}/notifications:${DOCKER_IMAGE_TAG:-master-github-latest}
11681168
init: true
1169-
hostname: "no-worker-{{.Node.Hostname}}-{{.Task.Slot}}"
1169+
hostname: "not-worker-{{.Node.Hostname}}-{{.Task.Slot}}"
11701170
environment:
11711171
<<: *notifications_environment
11721172
REDIS_HOST: ${REDIS_HOST}
11731173
REDIS_PORT: ${REDIS_PORT}
11741174
REDIS_SECURE: ${REDIS_SECURE}
11751175
REDIS_USER: ${REDIS_USER}
11761176
REDIS_PASSWORD: ${REDIS_PASSWORD}
1177-
NOTIFICATIONS_WORKER_NAME: "no-worker-{{.Node.Hostname}}-{{.Task.Slot}}-{{.Task.ID}}"
1177+
NOTIFICATIONS_WORKER_NAME: "not-worker-{{.Node.Hostname}}-{{.Task.Slot}}-{{.Task.ID}}"
11781178
NOTIFICATIONS_WORKER_MODE: "true"
11791179
CELERY_CONCURRENCY: 100
1180+
CELERY_QUEUES: "notifications.default"
11801181

11811182
dask-sidecar:
11821183
image: ${DOCKER_REGISTRY:-itisfoundation}/dask-sidecar:${DOCKER_IMAGE_TAG:-latest}

0 commit comments

Comments
 (0)