Skip to content

Commit 5d28ac1

Browse files
author
Lars Solberg
committed
flower
1 parent bc92447 commit 5d28ac1

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ services:
1919
CELERY_PARAMS: -E -Q math -n math
2020
volumes:
2121
- ./plugins:/plugins
22-
ports:
23-
- "127.0.0.1:8980:8989"
2422

2523
worker-counter:
2624
image: opastack/api:latest
@@ -31,6 +29,16 @@ services:
3129
volumes:
3230
- ./plugins:/plugins
3331

32+
flower:
33+
image: opastack/api:latest
34+
environment:
35+
OPA_PLUGIN_PATHS: "/plugins"
36+
MODE: "flower"
37+
volumes:
38+
- ./plugins:/plugins
39+
ports:
40+
- "127.0.0.1:5555:5555"
41+
3442
# ### untested
3543
# worker-beat:
3644
# image: opastack/api:latest
@@ -46,5 +54,5 @@ services:
4654

4755
rabbitmq:
4856
image: "rabbitmq:3.8-management"
49-
# ports:
50-
# - "15672:15672" # Management port
57+
ports:
58+
- "15671:15672" # Management port

0 commit comments

Comments
 (0)