forked from OikuraAmatsume/mapannai-public
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathenv.example
More file actions
21 lines (17 loc) · 863 Bytes
/
env.example
File metadata and controls
21 lines (17 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Mapbox 前端渲染(必需)
# 注意:NEXT_PUBLIC_ 开头的环境变量需要在 docker-compose.yml 的 args 中配置
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=pk.your_pk_here
NEXT_PUBLIC_MAPBOX_STYLE=mapbox://styles/mapbox/streets-zh-v1
# 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
# 基础地址(服务端构造绝对 URL 时使用)
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# SQLite 路径(可选,默认 ./data/mapannai.db)
# SQLITE_PATH=/data/mapannai.db