This commit is contained in:
2025-08-08 10:38:10 +08:00
commit c7dc4d6c02
114 changed files with 11010 additions and 0 deletions
Executable
+36
View File
@@ -0,0 +1,36 @@
# 应用密钥
SECRET_KEY=kU/W5y3uFbWuK1x+RTTOPgLp38yM6Z7d
# 数据库连接
DATABASE_URI=mysql+pymysql://4an:GtbJp6Ai5azntnTB@10.10.10.253/4an
# 量子密信消息Webhook
LZMX_WEBHOOK_URL=http://imtwo.zdxlz.com/im-external/v1/webhook/send?key=ef1dc605827f425e96491ce5725b5274
# 文件上传目录
UPLOAD_FOLDER=static/uploads
# 1key110数据库配置
KEY110_DB_HOST=10.10.10.253
KEY110_DB_USER=1key110
KEY110_DB_PASSWORD=KzdKtf7KfkXe7iCN
KEY110_DB_DATABASE=1key110
# uWSGI基本配置
UWSGI_HTTP=0.0.0.0:18019
UWSGI_PROCESSES=4
UWSGI_THREADS=2
UWSGI_LOG_FILE=/opt/1panel/docker/compose/4an/uwsgi.log
UWSGI_VIRTUALENV=/mnt/nfs/.venv
UWSGI_CHDIR=/opt/1panel/docker/compose/4an/app
UWSGI_PID_FILE=/opt/1panel/docker/compose/4an/uwsgi.pid
UWSGI_SOCKET=/opt/1panel/docker/compose/4an/uwsgi.sock
# uWSGI性能优化配置
UWSGI_MASTER=true
UWSGI_HARAKIRI=30
UWSGI_MAX_REQUESTS=1000
UWSGI_BUFFER_SIZE=32768
UWSGI_DISABLE_LOGGING=true
UWSGI_MEMORY_REPORT=true
UWSGI_ENABLE_THREADS=true