edgeone部署支持
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# EdgeOne Pages 本地调试示例环境变量
|
||||
# 使用方式:cp .env.edgeone.example .env.local 后按需修改,再运行 pnpm preview:edgeone
|
||||
|
||||
NODE_ENV=production
|
||||
BUILD_TARGET=edgeone
|
||||
EDGEONE_PAGES=1
|
||||
|
||||
# 默认不设置 NEXT_PUBLIC_STORAGE_TYPE,项目会使用默认 localstorage。
|
||||
# 如需云端持久化,再自行改为 upstash / redis / postgres 等项目支持的存储。
|
||||
|
||||
# 管理员账号(请替换)
|
||||
USERNAME=admin
|
||||
PASSWORD=admin123
|
||||
|
||||
# 如果你要在 EdgeOne 控制台使用云端环境变量,也可以先登录/关联项目后执行:
|
||||
# pnpm edgeone:login
|
||||
# pnpm edgeone:link
|
||||
# pnpm exec edgeone makers env pull -f .env.local
|
||||
Reference in New Issue
Block a user