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: depends_on:
- socat - socat
- redis - redis
volumes:
- ./data/instagram.com_cookies.txt:/ytdlbot/instagram.com_cookies.txt
- ./data/vnstat/:/var/lib/vnstat/
worker: # worker:
image: bennythink/ytdlbot # image: bennythink/ytdlbot
env_file: # env_file:
- env/ytdl.env # - env/ytdl.env
restart: always # restart: always
command: [ "/usr/local/bin/celery" ,"-A","tasks","worker","--loglevel=info","--pool=prefork","--concurrency=200" ] # command: [ "/usr/local/bin/celery" ,"-A","tasks","worker","--loglevel=info","--pool=prefork","--concurrency=200" ]