Skip to content

Commit e159e8f

Browse files
author
Lars Solberg
committed
exposing monitoring and naming celery hostnames
1 parent e5f3981 commit e159e8f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

examples/docker-compose/celery-task/docker-compose.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,18 @@ services:
1616
OPA_PLUGIN_PATHS: "/plugins"
1717
OPA_LOGLEVEL: debug
1818
MODE: "worker"
19-
CELERY_PARAMS: -E -Q math
19+
CELERY_PARAMS: -E -Q math -n math
2020
volumes:
2121
- ./plugins:/plugins
22+
ports:
23+
- "127.0.0.1:8980:8989"
2224

2325
worker-counter:
2426
image: opastack/api:latest
2527
environment:
2628
OPA_PLUGIN_PATHS: "/plugins"
2729
MODE: "worker"
28-
CELERY_PARAMS: -E -Q counter
30+
CELERY_PARAMS: -E -Q counter -n counter
2931
volumes:
3032
- ./plugins:/plugins
3133

0 commit comments

Comments
 (0)