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
3
.gitignore
vendored
3
.gitignore
vendored
@ -153,4 +153,5 @@ dmypy.json
|
||||
/.idea/dataSources/bf75f0a6-c774-4ecf-9448-2086f57b70df/storage_v2/_src_/schema/main.uQUzAA.meta
|
||||
db_data/*
|
||||
env/*
|
||||
.ash_history
|
||||
.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