Skip to content

本地开发环境搭建 #6511

Feb 25, 2025 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

解决了,环境变量配置错了,我通过下面的配置成功搭建。

LOBE_PORT=3010
CASDOOR_PORT=8000
MINIO_PORT=9000
APP_URL=http://127.0.0.1:3010
AUTH_URL=http://127.0.0.1:3010/api/auth

# Postgres related, which are the necessary environment variables for DB
LOBE_DB_NAME=lobechat
POSTGRES_PASSWORD=

AUTH_CASDOOR_ISSUER=http://127.0.0.1:8000
# Casdoor secret
AUTH_CASDOOR_ID=a387a4892ee19b1a2249
AUTH_CASDOOR_SECRET=

# MinIO S3 configuration
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=

# Configure the bucket information of MinIO
S3_PUBLIC_DOMAIN=http://127.0.0.1:9000
S3_ENDPOINT=http://127.0.0.1:9000
MINIO_LOBE_BUCKET=lobe

# Configure for casdoor
origin=http://127.0.0.1:8000

NEXT_AUTH_SSO_PROVIDERS=casdoor
KEY_VAULTS_SECRET=Kix…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@398168441
Comment options

@trganda
Comment options

Answer selected by trganda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants