forked from OikuraAmatsume/mapannai-public
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
22 lines (18 loc) · 1.05 KB
/
env.example
File metadata and controls
22 lines (18 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Google API 配置(用于后端搜索和路径规划)
GOOGLE_API_KEY=your_google_api_key_here
GOOGLE_API_BASE_URL=https://maps.googleapis.com
# 腾讯云 COS 配置(可选,用于图片上传)
TENCENT_COS_SECRET_ID=your_tencent_secret_id
TENCENT_COS_SECRET_KEY=your_tencent_secret_key
TENCENT_COS_REGION=ap-chongqing
TENCENT_COS_BUCKET=your_bucket_name
NEXT_PUBLIC_IMAGE_DOMAINS=mapannai-123456.cos.ap-chongqing.myqcloud.com
# SQLite 路径(可选,默认 ./data/mapannai.db)
# SQLITE_PATH=/data/mapannai.db
# API 认证 Token(留空或不设置则不启用认证,向后兼容)
# 启用后:前端弹窗输入 token,MCP 通过 URL 参数传递 ?token=xxx
# API_TOKEN=your_secret_token_here
# OSM 瓦片来源(可选,默认使用反向代理)
# 默认不设置或设为 true:使用本服务自带的反向代理路径 /osm-tiles/(需在 nginx/CDN 配置代理 tile.openstreetmap.org)
# 设为 false:直接访问官方 OSM 瓦片服务 tile.openstreetmap.org(无需反代,但受 OSM 流量限制)
# NEXT_PUBLIC_OSM_TILE_PROXY=false