mirror of
https://github.com/Reckless-Satoshi/robosats.git
synced 2024-09-11 11:55:26 +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
|
- ./node/lnd:/lnd
|
||||||
network_mode: service:tor
|
network_mode: service:tor
|
||||||
|
|
||||||
celery:
|
celery-worker:
|
||||||
image: backend
|
image: backend
|
||||||
container_name: cele-dev
|
container_name: cele-worker-dev
|
||||||
restart: always
|
restart: always
|
||||||
command: celery -A robosats worker --beat -l info -S django
|
|
||||||
environment:
|
environment:
|
||||||
REDIS_URL: redis://localhost:6379
|
REDIS_URL: redis://localhost:6379
|
||||||
volumes:
|
volumes:
|
||||||
- .:/usr/src/robosats
|
- .:/usr/src/robosats
|
||||||
- ./node/lnd:/lnd
|
- ./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
|
network_mode: service:tor
|
||||||
|
|
||||||
i2p:
|
i2p:
|
||||||
|
Loading…
Reference in New Issue
Block a user