mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 14:02:24 +01:00
Add celery beat and celery flower to docker compose
This commit is contained in:
parent
ff2a74367f
commit
b977a42738
@ -39,3 +39,23 @@ services:
|
||||
- "./data/uploads:/home/cdb/app/public/uploads"
|
||||
depends_on:
|
||||
- redis
|
||||
|
||||
beat:
|
||||
build: .
|
||||
command: celery -A app.tasks.celery beat
|
||||
env_file:
|
||||
- config.env
|
||||
environment:
|
||||
- FLASK_CONFIG=../config.cfg
|
||||
depends_on:
|
||||
- redis
|
||||
|
||||
flower:
|
||||
image: mher/flower
|
||||
command: ["flower", "--broker=redis://redis:6379/0", "--port=5124"]
|
||||
env_file:
|
||||
- config.env
|
||||
ports:
|
||||
- 5124:5124
|
||||
depends_on:
|
||||
- redis
|
||||
|
Loading…
Reference in New Issue
Block a user