23 lines
625 B
Bash
23 lines
625 B
Bash
# 本地环境变量模板(可复制到 .env 后填写,.env 已被 .gitignore 排除)
|
|
# 说明:本文件只放占位符,禁止提交任何真实口令。
|
|
|
|
APT_DB_HOST=127.0.0.1
|
|
APT_DB_PORT=3306
|
|
APT_DB_NAME=apt_rev01
|
|
APT_DB_USER=iotlocks
|
|
APT_DB_PASSWORD=<从本机安全位置填入,勿提交>
|
|
|
|
APT_REDIS_HOST=127.0.0.1
|
|
APT_REDIS_PORT=6379
|
|
APT_REDIS_DB=1
|
|
APT_REDIS_PASSWORD=
|
|
|
|
APT_TOKEN_SECRET=<32 位以上随机串,可用 openssl rand -hex 32 生成>
|
|
APT_GY_ID=APT-REV01-001
|
|
APT_HTTP_PORT=8080
|
|
APT_PROBE_ENABLED=true
|
|
APT_PROBE_TIMEOUT_MS=2000
|
|
APT_DRUID_CONSOLE=false
|
|
APT_DRUID_USER=aptadmin
|
|
APT_DRUID_PASSWORD=
|