From ad77c655132de6d749459f747da78b84db552328 Mon Sep 17 00:00:00 2001 From: BennyThink Date: Thu, 30 Dec 2021 14:45:36 +0800 Subject: [PATCH] worker.yml --- worker.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 worker.yml diff --git a/worker.yml b/worker.yml new file mode 100644 index 0000000..02481a8 --- /dev/null +++ b/worker.yml @@ -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 \ No newline at end of file