celery - no

This commit is contained in:
BennyThink 2021-12-29 23:17:47 +08:00
parent 6bff673a36
commit 321f4e8ba7
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481

View File

@ -32,10 +32,13 @@ services:
depends_on:
- socat
- redis
volumes:
- ./data/instagram.com_cookies.txt:/ytdlbot/instagram.com_cookies.txt
- ./data/vnstat/:/var/lib/vnstat/
worker:
image: bennythink/ytdlbot
env_file:
- env/ytdl.env
restart: always
command: [ "/usr/local/bin/celery" ,"-A","tasks","worker","--loglevel=info","--pool=prefork","--concurrency=200" ]
# worker:
# image: bennythink/ytdlbot
# env_file:
# - env/ytdl.env
# restart: always
# command: [ "/usr/local/bin/celery" ,"-A","tasks","worker","--loglevel=info","--pool=prefork","--concurrency=200" ]