worker.yml

This commit is contained in:
BennyThink 2021-12-30 14:45:36 +08:00
parent 1ec02d3664
commit ad77c65513
No known key found for this signature in database
GPG key ID: 6CD0DBDA5235D481

11
worker.yml Normal file
View file

@ -0,0 +1,11 @@
version: '3.1'
services:
worker:
image: bennythink/ytdlbot
env_file:
- env/ytdl.env
restart: always
command: [ "python" ,"tasks.py" ]
volumes:
- ./data/instagram.com_cookies.txt:/ytdlbot/ytdlbot/instagram.com_cookies.txt