Skip to content

guobaozu/flux_replicate_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

flask实现的flux api的接口。

端口

默认8055,直接写在了gunicorn_config文件里,请自行更改。

基本配置:gunicorn_config文件: bind = '0.0.0.0:8055' # 绑定的 IP 和端口 workers = 3 # 工作进程数量 loglevel = 'info' # 日志级别 accesslog = '/home/ubuntu/my_dev/flux_api/access.log' # 访问日志文件路径 errorlog = '/home/ubuntu/my_dev/flux_api/error.log' # 错误日志文件路径 timeout = 120 # 超时时间

启动: nohup /home/ubuntu/.local/bin/gunicorn --config /home/ubuntu/my_dev/flux_api/gunicorn_config.py main:app 2>&1 &

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages