chore: add configurable HOST and PORT via .env file

支持通过.env配置服务器HOST和PORT
This commit is contained in:
alchemin
2025-11-06 15:24:24 +08:00
parent 950bf0d341
commit f1794d4da9
3 changed files with 17 additions and 3 deletions
+6
View File
@@ -1,3 +1,9 @@
# ====================== BETTAFISH 相关 ======================
# BETTAFISH 主机地址,例如:0.0.0.0 或 127.0.0.1
HOST=0.0.0.0
# BETTAFISH 主机地址,默认为5000
PORT=5000
# ====================== 数据库配置 ======================
# 数据库主机,例如localhost 或 127.0.0.1
DB_HOST=your_db_host