Skip to content

Commit

Permalink
build(docker): add flower as service
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasschaub committed Oct 11, 2023
1 parent 8e58e3e commit 1ea20c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ services:
- redis
- postgres
environment:
SMT-DATA-STORE: "redis://redis:6379"
SMT-BROKER-URL: "redis://redis:6379"
SMT-RESULT-BACKEND: "db+postgresql://smt:smt@postgres:5432"
ports:
Expand All @@ -33,10 +32,15 @@ services:
- redis
- postgres
environment:
SMT-DATA-STORE: "redis://redis:6379"
SMT-BROKER-URL: "redis://redis:6379"
SMT-RESULT-BACKEND: "db+postgresql://smt:smt@postgres:5432"
entrypoint: ["poetry", "run", "celery", "--app", "sketch_map_tool.tasks", "worker", "--beat", "--concurrency", "4", "--loglevel", "INFO", "-E"]
flower:
image: mher/flower
restart: unless-stopped
ports:
- "127.0.0.1:5555:5555"
entrypoint: ["celery", "--broker=redis://redis:6379", "flower"]
redis:
image: redis:7
restart: unless-stopped
Expand Down

0 comments on commit 1ea20c1

Please sign in to comment.