mirror of
https://github.com/Reckless-Satoshi/robosats.git
synced 2024-08-16 15:20:55 +03:00
Split celery-dev service into cele-worker and cele-beat (less annoying logs)
This commit is contained in:
parent
602d92dd90
commit
3a0dd3cabd
@ -90,16 +90,29 @@ services:
|
||||
- ./node/lnd:/lnd
|
||||
network_mode: service:tor
|
||||
|
||||
celery:
|
||||
celery-worker:
|
||||
image: backend
|
||||
container_name: cele-dev
|
||||
container_name: cele-worker-dev
|
||||
restart: always
|
||||
command: celery -A robosats worker --beat -l info -S django
|
||||
environment:
|
||||
REDIS_URL: redis://localhost:6379
|
||||
volumes:
|
||||
- .:/usr/src/robosats
|
||||
- ./node/lnd:/lnd
|
||||
command: celery -A robosats worker --loglevel=WARNING
|
||||
depends_on:
|
||||
- redis
|
||||
network_mode: service:tor
|
||||
|
||||
celery-beat:
|
||||
image: backend
|
||||
container_name: cele-beat-dev
|
||||
restart: always
|
||||
environment:
|
||||
REDIS_URL: redis://localhost:6379
|
||||
command: celery -A robosats beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler
|
||||
depends_on:
|
||||
- redis
|
||||
network_mode: service:tor
|
||||
|
||||
i2p:
|
||||
|
Loading…
Reference in New Issue
Block a user