mirror of
https://github.com/omg-xtao/ytdlbot.git
synced 2024-11-16 03:45:23 +00:00
add flower, use mysql5.7
This commit is contained in:
parent
e7f99e5601
commit
90c4d6e1c0
1
.gitignore
vendored
1
.gitignore
vendored
@ -155,3 +155,4 @@ db_data/*
|
|||||||
env/*
|
env/*
|
||||||
.ash_history
|
.ash_history
|
||||||
ytdlbot/ytdl.session
|
ytdlbot/ytdl.session
|
||||||
|
data/*
|
@ -17,7 +17,7 @@ services:
|
|||||||
- "192.168.6.1:6379:6379"
|
- "192.168.6.1:6379:6379"
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql/mysql-server:8.0
|
image: mysql:5.7
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./db_data:/var/lib/mysql
|
- ./db_data:/var/lib/mysql
|
||||||
|
13
flower.yml
Normal file
13
flower.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
version: '3.1'
|
||||||
|
|
||||||
|
services:
|
||||||
|
flower:
|
||||||
|
image: bennythink/ytdlbot
|
||||||
|
env_file:
|
||||||
|
- env/ytdl.env
|
||||||
|
restart: always
|
||||||
|
command: [ "/usr/local/bin/celery" ,"-A","tasks","flower" ,"--basic_auth=benny:123456","--address=0.0.0.0" ]
|
||||||
|
volumes:
|
||||||
|
- ./data/instagram.com_cookies.txt:/ytdlbot/ytdlbot/instagram.com_cookies.txt
|
||||||
|
ports:
|
||||||
|
- "5555:5555"
|
@ -7,6 +7,7 @@ beautifultable==1.0.1
|
|||||||
ffmpeg-python==0.2.0
|
ffmpeg-python==0.2.0
|
||||||
PyMySQL==1.0.2
|
PyMySQL==1.0.2
|
||||||
celery==5.2.2
|
celery==5.2.2
|
||||||
|
flower
|
||||||
|
|
||||||
supervisor
|
supervisor
|
||||||
tgbot-ping
|
tgbot-ping
|
||||||
|
Loading…
Reference in New Issue
Block a user