Files

31 lines
1.3 KiB
Bash
Raw Permalink 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.
# =============================================================================
# AList Serve Resource — 环境变量模板
# 复制为 .env 并填入真实值。.env 加入 .gitignore,绝不提交 Git(规格 §29/§55)。
# =============================================================================
# --- 时区 ---
TZ=Asia/Kuala_Lumpur
# --- AList ---
# AList JWT 签名密钥(随机 32+ 字符字符串)。生产环境必须替换。
JWT_SECRET=CHANGE_ME_random_32char_or_longer
# --- AList 内网地址(n8n / NocoDB webhook 访问 admin API 用)---
# container_name 为 alist-serve-resource,走 bridge_hoelee 网络时内网地址如下:
ALIST_URL=http://alist-serve-resource:5244
# --- AList Admin 凭证(登录 /api/auth/login 换取 token)---
ALIST_ADMIN_USERNAME=admin
ALIST_ADMIN_PASSWORD=CHANGE_ME_strong_admin_password
# 可选:持久化 token 缓存(若不用每次 login,可后续由 n8n credential 保存)
ALIST_API_TOKEN=
# --- NocoDB(业务授权 Source of Truth)---
NOCODB_URL=https://nocodb.hoelee.com
# 在 NocoDB 内创建 API token(Settings → API Tokens),不要用明文密码
NOCODB_TOKEN=CHANGE_ME_nocodb_api_token
# --- n8n 加密密钥 ---
# 生产环境固定一个强随机值;改动会导致已有 credentials 无法解密
N8N_ENCRYPTION_KEY=CHANGE_ME_n8n_encryption_key