Conversation
|
This is the version where everything is stored on the client. So switching devices does not sync settings / history. |
|
Ok, tried the database version. But could not get it to run properly with the casdoor authentication. I think it should also be good as it is now. If anyone wants to give it a try, this was the docker-compose.yml I tried: version: '3.7'
services:
app_proxy:
environment:
APP_HOST: lobe-chat_lobe_1
APP_PORT: 3210
PROXY_AUTH_ADD: "false"
postgresql:
image: pgvector/pgvector:pg16
ports:
- '5432:5432'
volumes:
- '${APP_DATA_DIR}/data/db:/var/lib/postgresql/data'
environment:
- 'POSTGRES_DB=lobe'
- 'POSTGRES_PASSWORD=lobe'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
timeout: 5s
retries: 5
restart: always
minio:
image: minio/minio
volumes:
- '${APP_DATA_DIR}/data/s3:/etc/minio/data'
environment:
- 'MINIO_ROOT_USER=lobe'
- 'MINIO_ROOT_PASSWORD=lobe-chat'
- 'MINIO_API_CORS_ALLOW_ORIGIN=http://${APP_DOMAIN}:3210'
restart: always
command: >
server /etc/minio/data --address ":9000" --console-address ":9001"
casdoor:
image: casbin/casdoor
entrypoint: /bin/sh -c './server --createDatabase=true'
depends_on:
postgresql:
condition: service_healthy
environment:
RUNNING_IN_DOCKER: 'true'
driverName: 'postgres'
dataSourceName: 'user=postgres password=lobe host=postgresql port=5432 sslmode=disable dbname=casdoor'
origin: 'http://${APP_DOMAIN}:8000'
runmode: 'dev'
volumes:
- ${APP_DATA_DIR}/data/casdoor/init_data.json:/init_data.json
lobe:
image: lobehub/lobe-chat-database
depends_on:
postgresql:
condition: service_healthy
minio:
condition: service_started
casdoor:
condition: service_started
environment:
- 'APP_URL=http://${APP_DOMAIN}:7455'
- 'NEXT_AUTH_SSO_PROVIDERS=casdoor'
- 'KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ='
- 'NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg'
- 'AUTH_URL=http://${APP_DOMAIN}:7455/api/auth'
- 'AUTH_CASDOOR_ISSUER=http://${APP_DOMAIN}'
- 'DATABASE_URL=postgresql://postgres:lobe@postgresql:5432/lobe'
- 'S3_ENDPOINT=http://minio:9000'
- 'S3_BUCKET=lobe'
- 'S3_PUBLIC_DOMAIN=http://${APP_DOMAIN}:9000'
- 'S3_ACCESS_KEY_ID=soaucnP8Bip0TDdUjxng'
- 'S3_SECRET_ACCESS_KEY=ZPUzvY34umfcfxvWKSv0P00vczVMB6YmgJS5J9eO'
- 'S3_ENABLE_PATH_STYLE=1'
- 'LLM_VISION_IMAGE_USE_BASE64=1'
- 'AUTH_CASDOOR_ID=a387a4892ee19b1a2249'
- 'AUTH_CASDOOR_SECRET=f9c6471fd26b8baf224f67e9e77bb364'
restart: always@nmfretz can you take a look at this PR? |
|
What a wonderful app submission. Thank you! It's great so see such a clean |
|
| Severity | File | Description |
|---|---|---|
lobe-chat/umbrel-app.yml |
"icon" and "gallery" needs to be empty for new app submissions: The "icon" and "gallery" fields must be empty for new app submissions as it is being created by the Umbrel team. |
Legend
| Symbol | Description |
|---|---|
| ❌ | Error: This must be resolved before this PR can be merged. |
| Warning: This is highly encouraged to be resolved, but is not strictly mandatory. | |
| ℹ️ | Info: This is just for your information. |
|
Thanks again for this one @al-lac! Gallery assets are ready to go so we are going live:
|
|
Please can we have the database version? |
|
Hey @developercrocodiles, I am already on it, still need to find some time to finish it, you can check the progress here: #4606 |
|
Oh brilliant! Thank's for the fast reply. I am currently running umbrelOS on a Raspberry pi, but will be buying an Umbrel home soon. |



App Submission
App name
Lobe Chat
Fixes #1898
256x256 SVG icon
https://github.com/lobehub/lobe-icons/blob/master/packages/static-svg/icons/lobehub-color.svg
Gallery images
I have tested my app on: