nomadro/.env.example
Eric 2b574f7957 Ship native /social/work: Planka-shaped boards + Etherpad pads on FastAPI.
Secondary-dev Next UI with DnD, labels, stopwatch, archive, activity; pads with revisions; README documents pnpm dev:work-api.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-04 01:06:26 +08:00

46 lines
1.4 KiB
Plaintext
Raw 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.

# Copy to .env.local — never commit real secrets
# Remote work API (Next proxies /api/work/v1 → this)
# WORK_API_URL=http://127.0.0.1:8021
# Admin panel
NOMADRO_ADMIN_PASSWORD=change-me
NOMADRO_ADMIN_SESSION_SECRET=change-me-session
# Optional PocketBase admin token for /admin/users
# PB_ADMIN_TOKEN=
# WeChat miniprogram virtual pay (apps/api)
WX_APPID=wxa55815dd741a540d
WX_APPSECRET=bf71025c209e7567d49268bc427ba22b
WX_OFFER_ID=1450642200
WX_SANDBOX_APPKEY=0wB3HV3sfKVTEgomZ6BIbgsN8Mlbv5Bn
WX_LIVE_APPKEY=CBi5tdkkSWuvkDvWJNnSjrGmeYE3xlsg
# 1=sandbox 0=live
WX_PAY_ENV=1
# Observability (production)
# NOMADRO_PUBLIC_ORIGIN=https://nomadro.com
# API_URL=https://api.nomadro.com
# 本地前端直连线上配置(浏览器 CORS;与 admin.nomadro.com 同源)
# NEXT_PUBLIC_REMOTE_CONFIG_URL=https://nomadro.com/api/config
# NEXT_PUBLIC_UMAMI_WEBSITE_ID=
# NEXT_PUBLIC_UMAMI_SCRIPT_URL=https://umami.nomadro.cn/script.js
# NTFY_BASE_URL=https://ntfy.nomadro.cn
# NTFY_TOPIC=nomadro
# Optional: .com 专用 topic(不设则用 NTFY_TOPIC)
# NTFY_TOPIC_COM=nomadro-com
# NTFY_TOKEN=
# Overseas pay (payjsapi)
# CREEM_API_KEY=
# NOWPAYMENTS_API_KEY=
# Social geo (MapLibre + Photon + PocketBase trips)
# NEXT_PUBLIC_MAP_STYLE_URL=https://tiles.openfreemap.org/styles/dark
# PHOTON_BASE_URL=https://photon.komoot.io
# SOCIAL_GEO_USE_PB=true
# SOCIAL_TRIPS_COLLECTION=social_trips
# PB_URL=http://127.0.0.1:8090
# PB_ADMIN_EMAIL=
# PB_ADMIN_PASSWORD=