lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.46k stars 9.98k forks source link

[Request] 是否可以提供一个casdoor生产部署的docker-compose的参考文件 #4080

Closed zhangleijun111 closed 1 month ago

zhangleijun111 commented 1 month ago

🥰 需求描述

是否可以提供一个casdoor生产部署的docker-compose的参考文件

🧐 解决方案

是否可以提供一个casdoor生产部署的docker-compose的参考文件

📝 补充信息

是否可以提供一个casdoor生产部署的docker-compose的参考文件

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

Can you provide a reference file for docker-compose for casdoor production deployment?

🧐 Solution

Can you provide a reference file for docker-compose for casdoor production deployment?

📝 Supplementary information

Can you provide a reference file for docker-compose for casdoor production deployment?

lobehubbot commented 1 month ago

👀 @zhangleijun111

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 1 month ago

等 #3855

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Wait #3855

zhangleijun111 commented 1 month ago

等 #3855

好的呀。那我问下casdoor支持生产环境的是吧

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Wait for #3855

OK. Then let me ask, does casdoor support the production environment?

SpeedupMaster commented 1 month ago

docker-compose.yml

services:
  postgresql:
    image: pgvector/pgvector:pg16
    container_name: lobe-postgres
    ports:
      - 5432:5432
    volumes:
      - ./data:/var/lib/postgresql/data
    environment:
      - POSTGRES_DB=lobe
      - POSTGRES_PASSWORD=b750e83ac80f7261513axxxxxxxxx
    healthcheck:
      test:
        - CMD-SHELL
        - pg_isready -U postgres
      interval: 5s
      timeout: 5s
      retries: 5
    restart: always

  minio:
    image: minio/minio
    container_name: lobe-minio
    ports:
      - 9000:9000
      - 9001:9001
    volumes:
      - ./s3_data:/etc/minio/data
    environment:
      - MINIO_ROOT_USER=
      - MINIO_ROOT_PASSWORD=
      - MINIO_DOMAIN=
      - MINIO_API_CORS_ALLOW_ORIGIN=
    restart: always
    command: |
      server /etc/minio/data --address ":9000" --console-address ":9001"

  casdoor:
    image: casbin/casdoor:latest
    container_name: lobe-casdoor
    ports:
      - 8000:8000
    depends_on:
      postgresql:
        condition: service_healthy
    environment:
      - RUNNING_IN_DOCKER=true
      - driverName=postgres
      - dataSourceName=postgres://postgres:b750e83ac80f7261513axxxxxxxxx@postgresql:5432/casdoor?sslmode=disable
    volumes:
      - ./files:/files
    entrypoint:
      - /bin/sh
      - -c
      - ./server --createDatabase=true

  lobe:
    image: lobehub/lobe-chat-database
    container_name: lobe-database
    ports:
      - 3210:3210
    depends_on:
      - postgresql
      - minio
      - casdoor
    env_file:
      - .env
    restart: always
volumes:
  data:
    driver: local
  s3_data:
    driver: local
networks: {}

.env

# LobeChat 域名
APP_URL=

# Postgres 相关,也即 DB 必须的环境变量
# 用于加密敏感信息的密钥,可以使用 openssl rand -base64 32 生成
KEY_VAULTS_SECRET=
# Postgres 数据库连接字符串
DATABASE_URL=postgresql://postgres:b750e83ac80f7261513axxxxxxxxx@postgresql:5432/lobe

# NEXT_AUTH 相关
AUTH_URL=
NEXT_AUTH_SECRET=
NEXT_AUTH_SSO_PROVIDERS=casdoor
AUTH_CASDOOR_ID=
AUTH_CASDOOR_SECRET=
AUTH_CASDOOR_ISSUER=
CASDOOR_WEBHOOK_SECRET=

# MinIO S3 配置
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
S3_ENDPOINT=
S3_BUCKET=lobe 
S3_PUBLIC_DOMAIN=
S3_ENABLE_PATH_STYLE=1
zhangleijun111 commented 1 month ago

r-compose的参考文件

这个样子nginx是不是都不要做了

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Reference files for r-compose

Should nginx not be used like this?

SpeedupMaster commented 1 month ago

r-compose的参考文件

这个样子nginx是不是都不要做了

你如果本地部署就不用了

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Reference files for r-compose

Should nginx not be used like this?

If you deploy it locally, you don’t need it.

zhangleijun111 commented 1 month ago

生产还是要的对吧

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: Lumia @.> 发送时间: 2024年9月23日 15:38 收件人: lobehub/lobe-chat @.> 抄送: zhangleijun111 @.>, Mention @.> 主题: Re: [lobehub/lobe-chat] [Request] 是否可以提供一个casdoor生产部署的docker-compose的参考文件 (Issue #4080)

r-compose的参考文件

这个样子nginx是不是都不要做了

你如果本地部署就不用了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

SpeedupMaster commented 1 month ago

生产还是要的对吧 发自我的iPhone ------------------ 原始邮件 ------------------ 发件人: Lumia @.> 发送时间: 2024年9月23日 15:38 收件人: lobehub/lobe-chat @.> 抄送: zhangleijun111 @.>, Mention @.> 主题: Re: [lobehub/lobe-chat] [Request] 是否可以提供一个casdoor生产部署的docker-compose的参考文件 (Issue #4080) r-compose的参考文件 这个样子nginx是不是都不要做了 你如果本地部署就不用了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

你要是不介意用localhost:8000的话也可以不配置。 直接用Nginx Proxy Manager设置反代,生成证书就行了,点几下就好了,很简单。ref

zhangleijun111 commented 1 month ago

生产还是要的对吧 发自我的iPhone ... ------------------ 原始邮件 ------------------ 发件人:Lumia @**> 发送时间: 2024年9月23日 15:38 收件人: lobehub/lobe-chat @.**> 抄送: zhangleijun111 @.**>,请提及 @。**> 主题: Re: [lobehub/lobe-chat] [Request] 是否可以提供一个casdoor生产部署的docker-compose的参考文件 (Issue #4080) r-compose的参考文件 这个样子nginx是不是都不要做了 你如果本地部署就不用了 — 直接回复这封电子邮件,在 GitHub 上查看,或者取消订阅。您收到此消息是因为您被提及。消息 ID:@.***>

你要是不介意用localhost:8000的话也可以不配置。 直接用Nginx Proxy Manager设置反代,生成证书就行了,点几下就好了,很简单。裁判

请教这几个变量如何填入 AUTH_URL=https://lobe.msftconnecttest.com/api/auth NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg NEXT_AUTH_SSO_PROVIDERS=casdoor AUTH_CASDOOR_ID= AUTH_CASDOOR_SECRET= AUTH_CASDOOR_ISSUER= CASDOOR_WEBHOOK_SECRET=

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Production is still required, right? Sent from my iPhone ... ------------------ Original email---------- -------- Sender: Lumia @. **> Sent time: September 23, 2024 15:38 Recipient: lobehub/lobe-chat @.**> Cc: zhangleijun111 @. **>, please mention @. **> Topic: Re: [lobehub/lobe-chat] [Request] Can you provide a reference file for docker-compose for casdoor production deployment (Issue #4080) Does nginx not require r-compose reference file like this? You don’t have to if you deploy locally — just reply to this email, view it on GitHub, or unsubscribe. You received this message because you were mentioned. Message ID:@.***>

If you don’t mind using localhost:8000, you don’t need to configure it. Just use Nginx Proxy Manager to set up reverse generation and generate a certificate. It only takes a few clicks. It is very simple. Referee

Please tell me how to fill in these variables AUTH_URL=https://lobe.msftconnecttest.com/api/auth NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg NEXT_AUTH_SSO_PROVIDERS=casdoor AUTH_CASDOOR_ID= AUTH_CASDOOR_SECRET= AUTH_CASDOOR_ISSUER= CASDOOR_WEBHOOK_SECRET=

SpeedupMaster commented 1 month ago

访问http://localhost:8000/ 登录casdoor管理界面。 默认密码账号:

admin
123

image 添加新应用 image 里面有ID和SECRET 设置重定向URL AUTH_CASDOOR_ISSUER=http://localhost:8000 或者你的反代网站 CASDOOR_WEBHOOK_SECRET 自己看这个设置#3942

zhangleijun111 commented 1 month ago

访问 登录casdoor管理界面。 默认密码账号:http://localhost:8000/

admin
123

image添加新应用 image 里面有ID和SECRET 设置重定向URL AUTH_CASDOOR_ISSUER=http://localhost:8000 或者你的反代网站 CASDOOR_WEBHOOK_SECRET 自己看这个设置#3942

AUTH_URL=https://l72.20.8.120:8000/api/auth NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg NEXT_AUTH_SSO_PROVIDERS=casdoor AUTH_CASDOOR_ID= AUTH_CASDOOR_SECRET= AUTH_CASDOOR_ISSUER=http://172.20.8.120:8000 CASDOOR_WEBHOOK_SECRET= 你看看这样对吗,其他三个变量进系统进行配置

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


访问 登录casdoor管理界面。 默认密码账号:http://localhost:8000/

admin
123

1niisinr5CICI6IKPxvcj9.eyjpc3MIIIJNAXRODWIUY29TIIIWIIYXVKICICICMF3LMDDG Izii6mtcynze2njaynywicgf0aci6iii8xmza2ndi2mjkvmzcwmmu2mtg3lwq4mtzmyti3lwrkzutndfhzi05otuxlty3mjnmuxymzmzmzi5wbmc_C1bxotwxnb3 JPDGHTPUFXUZTSE1BQY1TSEYNTYMWC1BXOTQ3JLZVUDGLHBD1BS0LBKNPR 3jlcxvlc3qmwc1bxotrgf0Zttttdi0mdkynfqwdiwmmjdajlgttw16luv4cgly xogrhzgu1ngfhodvkotk0zmjkytlodkzmddjmhiyzjiotk2zjfjlgtttw16lvnp P34) 添加新应用! [ image](https://private-user-images.githubusercontent.com/130642629/370156817-5f98b64b-cdd7-4292-8717-13a355ee23f0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOi JnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjcxNjYzMjcsIm5iZiI6MTcyNzE2NjAyNywicGF0aCI6Ii8xMzA2NDI 2MjkvMzcwMTU2ODE3LTVmOThiNjRiLWNkZDctNDI5Mi04NzE3LTEzYTM1NWVlMjNmMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBV kNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkyNFQwODIwMjdaJlgtQW16LUV4cGlyZXM9MzAwJlgt QW16LVNpZ25hdHVyZT1mZDA1ODU1ZmM1MmRiOTRiYmI3NzhhOThjZTUwN2IxNzgwYWMx NGEzZWE3ZjE5NjcwYzcxM2Y3ZWViMzJjMzlkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zd CJ9.bal8fxzoltt1hVfIy5r0J8LnKg5L3IsDtKi8_X98xjg) 里面有ID和SECRET 设置重定向URL AUTH_CASDOOR_ISSUER=http://localhost:8000 或者你的反代网站 CASDOOR_WEBHOOK_SECRET 自己看这个设置#3942

AUTH_URL=https://l72.20.8.120:8000/api/auth NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg NEXT_AUTH_SSO_PROVIDERS=casdoor AUTH_CASDOOR_ID= AUTH_CASDOOR_SECRET= AUTH_CASDOOR_ISSUER=http://172.20.8.120:8000 CASDOOR_WEBHOOK_SECRET= 你看看这样对吗,其他三个变量进系统进行配置

zhangleijun111 commented 1 month ago

AUTH_URL

那AUTH_URL这个变量我设置成什么呢

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


AUTH_URL

So what should I set the AUTH_URL variable to?

zhangleijun111 commented 1 month ago

访问 登录casdoor管理界面。 默认密码账号:http://localhost:8000/

admin
123

image添加新应用 image 里面有ID和SECRET 设置重定向URL AUTH_CASDOOR_ISSUER=http://localhost:8000 或者你的反代网站 CASDOOR_WEBHOOK_SECRET 自己看这个设置#3942

帮忙看看casdoor容器的这个报错,我现在跑起来了访问localhost:8000不行

panic: pq: database "casdoor" does not exist

goroutine 1 [running]: github.com/casdoor/casdoor/object.InitAdapter() /go/src/casdoor/object/ormer.go:91 +0x246 main.main() /go/src/casdoor/main.go:35 +0x30 panic: pq: database "casdoor" does not exist

goroutine 1 [running]: github.com/casdoor/casdoor/object.InitAdapter() /go/src/casdoor/object/ormer.go:91 +0x246 main.main() /go/src/casdoor/main.go:35 +0x30

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


访问 登录casdoor管理界面。 默认密码账号:http://localhost:8000/

admin
123

![image](https://private-user-images.githubusercontent.com/130642629/370156187-d816fa27-ddf5-41af-9951-6723a6e1bfff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ pc3MyOiJna I2MjkvMzcwMTU2MTg3LWQ4MTZmYTI3LWRkZjUtNDFhZi05OTUxLTY3MjNhNmUxYmZmZi5wbm c_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BBXotQ3JlZGVudGlhbD1BS0 lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkyNVQwMjQwMDBaJlgtQW16LUV4cGlyZXM9MzAw JlgtQW16LVNpZ25hdHVyZT05MDY3ZjYxZDEzNDM3M2RmNTMzYTk4NmM0ZGIzMWY4MmY2Z mIzOWJkYmRkZDhjMzIzZTcxYTQyNDJjZWI4NDFkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG 9zdCJ9.Z87PUji8Irz6iw7rZu7pTRXlMrpAWklvLGbqK6aYvGU)添加新应用![ image](https://private-user-images.githubusercontent.com/130642629/370156817-5f98b64b-cdd7-4292-8717-13a355ee23f0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOi JnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjcyMzIzMDAsIm5iZiI6MTcyNzIzMjAwMCwicGF0aCI6Ii8xMzA2NDI2Mjk vMzcwMTU2ODE3LTVmOThiNjRiLWNkZDctNDI5Mi04NzE3LTEzYTM1NWVlMjNmMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFl MU0E1M1BRSzRaQSUyRjIwMjQwOTI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkyNVQwMjQwMDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16 LVNpZ25hdHVyZT04OTQ1YjA5MzAyOGUxZDRiMjc4YWQyMjQ1NGM4MTM5Y2UxODgyY2U4Y zNlNGE2ZWNjYTBmYjJlOWY1NjZkMzY5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.5Z I5e_HjjN_ms7W3f8Rp3Zui06gtz67OTYZcAhm_yRU) 里面有ID和SECRET 设置重定向URL AUTH_CASDOOR_ISSUER=http://localhost:8000 或者你的反代网站 CASDOOR_WEBHOOK_SECRET 自己看这个设置#3942

帮忙看看casdoor容器的这个报错,我现在跑起来了访问localhost:8000不行

panic: pq: database "casdoor" does not exist

goroutine 1 [running]: github.com/casdoor/casdoor/object.InitAdapter() /go/src/casdoor/object/ormer.go:91 +0x246 main.main() /go/src/casdoor/main.go:35 +0x30 panic: pq: database "casdoor" does not exist

goroutine 1 [running]: github.com/casdoor/casdoor/object.InitAdapter() /go/src/casdoor/object/ormer.go:91 +0x246 main.main() /go/src/casdoor/main.go:35 +0x30

zhangleijun111 commented 1 month ago

AUTH_URL

那AUTH_URL这个变量我设置成什么呢

我用最新的那版本地部署成功进去了 问下重定向url应该填写什么

image

SpeedupMaster commented 1 month ago

AUTH_URL

那AUTH_URL这个变量我设置成什么呢

我用最新的那版本地部署成功进去了 问下重定向url应该填写什么

image

http://localhost:8000/api/auth/callback/casdoor

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


AUTH_URL

What should I set the AUTH_URL variable to?

I deployed the latest version and successfully entered it. What should I fill in for the redirect url?

![image](https://private-user-images.githubusercontent.com/169867372/370554903-cd1d5389-d5be-40a5-a065-b658a99c1d59.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc 3MiOiJna czNzIvMzcwNTU0OTAzLWNkMWQ1Mzg5LWQ1YmUtNDBhNS1hMDY1LWI2NThhOTljMWQ1OS5wbmc_ WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVk NPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkyNVQwNDUwMzlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQ W16LVNpZ25hdHVyZT05MWI3ZDYwOWI2MzIxMThjMWJkM2Y1M2NhMDQ4OGJhMmYzNzU4ODk zZDQzOGNjY2QyYWU3YjdjYjAwNWZkNGM4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9. fKaE8EBvv7gAVcjkoyr6dJV6f8HCvJ9EGlHLjgmnDPc)

http://localhost:8000/api/auth/callback/casdoor

zhangleijun111 commented 1 month ago

AUTH_URL

那AUTH_URL这个变量我设置成什么呢

我用最新的那版本地部署成功进去了 问下重定向url应该填写什么 图像

http://localhost:8000/api/auth/callback/casdoor

http://ip:8000/api/auth/callback/casdoor可以嘛 另外这两个文件配置的时候需要吗 8571909d33635eaa83b4b302ad6d6ef

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


AUTH_URL

What should I set the AUTH_URL variable to?

I successfully deployed the latest version and entered it. What should I fill in for the redirect url? ![image](https://private-user-images.githubusercontent.com/169867372/370554903-cd1d5389-d5be-40a5-a065-b658a99c1d59.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ey Jpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjcyNDAxMzksIm5iZiI6MTcyNzIzOTgzOSwicGF0aCI6Ii8xNjk4N jczNzIvMzcwNTU0OTAzLWNkMWQ1Mzg5LWQ1YmUtNDBhNS1hMDY1LWI2NThhOTljMWQ1OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lB VkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkyNVQwNDUwMzlaJlgtQW16LUV4cGlyZXM9MzAwJlgt QW16LVNpZ25hdHVyZT05MWI3ZDYwOWI2MzIxMThjMWJkM2Y1M2NhMDQ4OGJhMmYzNzU4OD kzZDQzOGNjY2QyYWU3YjdjYjAwNWZkNGM4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9 .fKaE8EBvv7gAVcjkoyr6dJV6f8HCvJ9EGlHLjgmnDPc)

http://localhost:8000/api/auth/callback/casdoor

Is http://ip:8000/api/auth/callback/casdoor okay? Are these two files needed when configuring? 8571909d33635eaa83b4b302ad6d6ef

zhangleijun111 commented 1 month ago

http://localhost:8000/api/auth/callback/casdoor

我把所有localhost换了ip地址,有说法嘛,现在报了这个错误 8cf425ed427965d8af6f35cb35a0591

490ec76a51636f86a6282fc0d1c6461

zhuozhiyongde commented 1 month ago

@arvinxx 可以关了

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@arvinxx It can be turned off

arvinxx commented 1 month ago

新版文档已上线,推荐使用 Casdoor。 https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose

lobehubbot commented 1 month ago

✅ @zhangleijun111

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


A new version of the documentation is now online, and it is recommended to use Casdoor. https://lobehub.com/en/docs/self-hosting/server-database/docker-compose