feat: full project sync - CI fixes, frontend, workspace API, and all changes

This commit is contained in:
Tomas Dvorak
2026-04-27 09:08:07 +02:00
parent a07fca997e
commit 89b9390c14
109 changed files with 21120 additions and 545 deletions
+43 -11
View File
@@ -1,14 +1,46 @@
# GitHub OAuth 配置
GITHUB_CLIENT_ID="xxxxxxxxxxxxxxxxxxx"
GITHUB_CLIENT_SECRET="xxxxxxxxxxxxxx"
GITHUB_REDIRECT_URL="http://localhost:3002/auth/callback" # 或者你部署后的回调地址
# ===================================================================
# Excalidraw FULL - Environment Configuration
# ===================================================================
# JWT 配置
JWT_SECRET="YOUR_SUPER_SECRET_RANDOM_STRING"
# -------------------------------------------------------------------
# Required: JWT Secret
# -------------------------------------------------------------------
# Must be at least 32 random characters. Used for session signing.
# Generate: openssl rand -base64 32
JWT_SECRET="YOUR_SUPER_SECRET_RANDOM_STRING_MIN_32_CHARS"
# OpenAI 配置
OPENAI_API_KEY=sk-xxxxxxxxxxxxxx
OPENAI_BASE_URL=https://xxxxxx.xxxxx # 不加/v1...
# -------------------------------------------------------------------
# Required: Database
# -------------------------------------------------------------------
# Options: postgres | memory | filesystem | kv | s3
# Postgres is required for the workspace product path.
STORAGE_TYPE=postgres
DATABASE_URL="postgres://excalidraw:excalidraw@localhost:5432/excalidraw?sslmode=disable"
# 存储配置
STORAGE_TYPE=sqlite # 支持memoryfilesystem, kv, s3,具体看README
# -------------------------------------------------------------------
# Auth Provider (configure ONE of GitHub / OIDC / neither for password-only)
# -------------------------------------------------------------------
# GitHub OAuth
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""
GITHUB_REDIRECT_URL="http://localhost:3002/auth/callback"
# OIDC (generic SSO)
OIDC_ISSUER_URL=""
OIDC_CLIENT_ID=""
OIDC_CLIENT_SECRET=""
OIDC_REDIRECT_URL="http://localhost:3002/auth/callback"
# -------------------------------------------------------------------
# Optional: OpenAI Proxy
# -------------------------------------------------------------------
OPENAI_API_KEY=""
OPENAI_BASE_URL="https://api.openai.com"
# -------------------------------------------------------------------
# Optional: CORS / Deployment
# -------------------------------------------------------------------
# Comma-separated list of allowed origins for CORS
ALLOWED_ORIGINS="http://localhost:3000,http://localhost:3002,http://localhost:5173"
# Server bind address
LISTEN_ADDR=":3002"