mirror of
https://github.com/omg-xtao/ytdlbot.git
synced 2024-09-28 03:46:01 +00:00
ready
This commit is contained in:
parent
c932525c3a
commit
2630d15535
1
.gitignore
vendored
1
.gitignore
vendored
@ -154,3 +154,4 @@ dmypy.json
|
||||
db_data/*
|
||||
env/*
|
||||
.ash_history
|
||||
ytdlbot/ytdl.session
|
@ -15,7 +15,7 @@ services:
|
||||
driver: none
|
||||
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
image: mysql/mysql-server:8.0
|
||||
restart: always
|
||||
volumes:
|
||||
- ./db_data:/var/lib/mysql
|
||||
@ -33,12 +33,12 @@ services:
|
||||
- socat
|
||||
- redis
|
||||
volumes:
|
||||
- ./data/instagram.com_cookies.txt:/ytdlbot/instagram.com_cookies.txt
|
||||
- ./data/instagram.com_cookies.txt:/ytdlbot/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: [ "python" ,"tasks.py" ]
|
||||
|
Loading…
Reference in New Issue
Block a user