Files
edge-node/.env
2025-10-02 19:04:38 +08:00

24 lines
623 B
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.
# === 本机(该内网节点)的 Tailscale IP与宿主机共用===
LOCAL_TS_IP=100.64.0.10
# === 云端 Consul Server阿里云那台的 TS IP===
CONSUL_SERVER_IP=100.64.0.1
CONSUL_DC=dc1
# === 示例服务(你可以替换为任意容器或端口)===
SERVICE_NAME=mypy
SERVICE_PORT=8229
ROUTE_HOST=api.jmsu.top
# === 健康检查 ===
CHECK_TYPE=http # http | tcp
CHECK_PATH=/
CHECK_INTERVAL=10s
CHECK_TIMEOUT=2s
DEREG_AFTER=1m
# === Traefik 入口 & 证书解析器(与云端对应)===
TRAEFIK_HTTP_ENTRYPOINT=websecure
TRAEFIK_TCP_ENTRYPOINT=tcp
TRAEFIK_CERT_RESOLVER=cf # 或 alidns