mirror of
https://github.com/omg-xtao/ytdlbot.git
synced 2024-11-16 03:45:23 +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/*
|
db_data/*
|
||||||
env/*
|
env/*
|
||||||
.ash_history
|
.ash_history
|
||||||
|
ytdlbot/ytdl.session
|
@ -15,7 +15,7 @@ services:
|
|||||||
driver: none
|
driver: none
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:5.7
|
image: mysql/mysql-server:8.0
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./db_data:/var/lib/mysql
|
- ./db_data:/var/lib/mysql
|
||||||
@ -33,12 +33,12 @@ services:
|
|||||||
- socat
|
- socat
|
||||||
- redis
|
- redis
|
||||||
volumes:
|
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/
|
- ./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: [ "python" ,"tasks.py" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user