21 lines
770 B
Plaintext
21 lines
770 B
Plaintext
PORT=3010
|
||
NODE_ENV=development
|
||
CORS_ORIGIN=http://localhost:5180
|
||
|
||
# 正式环境必须填写;本地 SQLite 模式可暂时留空。
|
||
DATABASE_URL=
|
||
# PostgreSQL 示例:postgresql://delivery_desk:replace-with-a-password@127.0.0.1:5432/delivery_desk
|
||
PGSSL=disable
|
||
PG_POOL_MAX=10
|
||
|
||
# docker compose 使用;不要在仓库中填写真实密码。
|
||
POSTGRES_PASSWORD=replace-with-a-random-database-password
|
||
|
||
# 正式环境必须使用随机生成的长密钥,切换环境后保持不变,否则无法解密已保存的 COS 凭证。
|
||
COS_CONFIG_ENCRYPTION_KEY=replace-with-at-least-32-random-characters
|
||
|
||
# 仅首次初始化空数据库时使用。
|
||
INITIAL_ADMIN_PASSWORD=replace-before-first-start
|
||
INITIAL_ADMIN_USERNAME=admin
|
||
INITIAL_ADMIN_DISPLAY_NAME=平台管理员
|