Merge pull request #164 from IceEnd/feature/ConfigurableHostPort

chore: add configurable HOST and PORT via .env file
This commit is contained in:
Doiiars
2025-11-06 18:34:42 +08:00
committed by GitHub
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