Files
sub-provider/.env.example
riglen d30018ed71 Revert "面板"
This reverts commit 564042a8cc.
2026-04-20 14:42:19 +08:00

30 lines
931 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
APP_NAME=sub-provider
APP_ENV=prod
HOST=0.0.0.0
PORT=18080
LOG_LEVEL=info
DATABASE_URL=sqlite:////app/data/app.db
# Docker 运行时数据目录,建议放在仓库外
APP_DATA_DIR=../sub-provider-data
# 对外访问前缀,尽量改成足够长的随机字符串
PUBLIC_PATH=change-me-random-hash-path
# 如反代后域名不是容器本机可感知到的地址,建议显式填写
# 例如https://sub.example.com
PUBLIC_BASE_URL=
# airport-a / airport-b / airport-c 都会自动识别:
# 1. Clash/Mihomo YAML proxies 文件
# 2. base64 编码 URI 订阅
# 3. 直接明文 URI 订阅
# 也支持本地文件,例如:
# AIRPORT_B_URL=/app/data/sources/airport-b.txt
# AIRPORT_B_URL=file:///app/data/sources/airport-b.txt
AIRPORT_A_URL=
# 允许留空;留空时该机场会自动跳过,不参与默认查询
AIRPORT_B_URL=
# 允许留空;留空时该机场会自动跳过,不参与默认查询
AIRPORT_C_URL=