Commit Graph

38 Commits

Author SHA1 Message Date
XYenon
7eb78c43e6 👷 build: add INTERNAL_APP_URL for server-to-server calls (#9960)
*  feat: add INTERNAL_APP_URL for server-to-server calls

Add INTERNAL_APP_URL environment variable to bypass CDN/proxy for internal operations like embedding and file chunking. Falls back to APP_URL if not set.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

* 📝 docs: add INTERNAL_APP_URL documentation

Add documentation for INTERNAL_APP_URL environment variable in:
- docker-compose .env.example
- Docker Compose deployment guide (English and Chinese)

Explains how to bypass CDN/proxy for server-to-server operations.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

*  test: add tests for INTERNAL_APP_URL feature

Add comprehensive test coverage for INTERNAL_APP_URL:
- Test fallback behavior to APP_URL when INTERNAL_APP_URL is not set
- Test explicit INTERNAL_APP_URL configuration
- Test localhost bypass for CDN/proxy
- Test createAsyncServerClient using INTERNAL_APP_URL
- Test authentication headers in async calls

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

---------

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2025-11-06 13:28:54 +08:00
renovate[bot]
d8d28371d6 Update ghcr.io/grafana/xk6-client-tracing Docker tag to v0.0.9 (#9666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-17 16:14:08 +08:00
Neko
d54113036a 👷 build: integrated otel for instrumenting backend side of Next.js (#9073) 2025-09-23 09:34:48 +02:00
Neko
bed591c559 👷 chore: added docker-compose configuration files for Grafana, Prometheus, and Tempo, Otel stacks (#9071)
* feat: added docker-compose configuration files for Grafana, Prometheus, and Tempo, Otel stacks

* fix: datasource uid
2025-09-11 11:27:24 +08:00
Asuka109
d1c5645517 🔨 chore: add docker compose to setup local services for development (#8608)
* 👷 build: add docker compose to setup local services for development

* 👷 build: setup dotenv-expand for all the npm scripts

* 🐛 fix: remove useless comments

* 📚 docs: add server-side database setup guide with i18n support

- Add comprehensive server-side database setup documentation
- Include step-by-step Docker service configuration
- Add Chinese localization for better developer experience
- Cover environment setup, database migration, and verification steps
2025-09-02 17:06:01 +08:00
Rylan Cai
6c83807218 🔨 chore: Migrate self-hosting auth to Casdoor@v2 (#8767)
* 🔨 chore: update casdoor to v2

* 🐛 fix: enable signin

* 🐛 fix: webhook hostname diag failed
2025-08-12 00:19:29 +08:00
Maple Gao
9e980cbf28 👷 build: pin minio version (#8378)
* 🔨  chore: fix MiniO image version
* fix: MiniO disabled web admin panel in latest version

* 🔨  chore: fix Relay Mode mis-report
* fix: Relay mode should check localhost under network_mode: service:network-service itself, but if failed, should notice user check relay URL

* 🔨  chore: fix Relay Mode mis-report
* fix: Relay mode should check localhost under network_mode: service:network-service itself, but if failed, should notice user check relay URL

* 🔨  chore: fix Relay Mode mis-report
* fix: Relay mode should check localhost under network_mode: service:network-service itself, but if failed, should notice user check relay URL

* 🔨  chore: fix Relay Mode mis-report
* fix: Relay mode should check localhost under network_mode: service:network-service itself, but if failed, should notice user check relay URL

* Revert "🔨  chore: fix MiniO image version"

This reverts commit 1d6c2cd334.

* Revert "🔨  chore: fix Relay Mode mis-report * fix: Relay mode should check localhost under network_mode: service:network-service itself, but if failed, should notice user check relay URL"

This reverts commit 7bc8a47b

* 🔨  chore: fix MiniO Version
* fix: MiniO new version do not have web admin panel
2025-07-10 12:26:41 +08:00
Purelind
58d356c477 🔨 chore(setup.sh): Replace SED_COMMAND with SED_INPLACE_ARGS for improved compatibility across platforms on macOS (#7639) 2025-06-01 16:28:04 +08:00
Max Brauer
a988632e77 🔨 chore: disable signups for the default lobechat org in Casdoor (#7830)
Otherwise, anyone can signup with the lobechat organization and it is
very likely that's not wanted. We should be closed and secure by
default.

Signed-off-by: Max Brauer <mbrauer@vmware.com>
2025-05-14 10:08:23 +08:00
Max Brauer
7469c10a9a 🔨 chore: fix typo in docker compose (#7718)
Signed-off-by: Max Brauer <mbrauer@vmware.com>
2025-05-08 10:22:24 +08:00
Rylan Cai
422f8f5aa8 📌 chore: lock casdoor to v1.843 (#7331)
* 📌 pin: lock casdoor to v1.843

* 📝 docs: link to pr
2025-04-08 00:42:18 +08:00
Rylan Cai
81867c413c 👷 chore: fix re-init in setup.sh (#6714) 2025-03-09 19:00:22 +08:00
triwinds
fa938f9b12 🔨 chore: add missing restart: always on network-service (#6581) 2025-02-27 23:13:44 +08:00
Arvin Xu
47efd1ba43 🔨 chore: improve setup.sh to download searxng file (#6552) 2025-02-26 23:42:22 +08:00
Kaco
9a14ee6211 📝 docs: Add searxng to docker compose (#6509)
* Add searxng to docker compose

* Update docker-compose.yml

Block external access to port 8080

---------

Co-authored-by: Kaco <leungkaco@gmail.com>
2025-02-26 22:47:39 +08:00
itning
bef09e4db2 👷 docs: Fix the issue that the communication with the casdoor server is not available due to the port change. (#6408) 2025-02-22 15:03:09 +08:00
Rylan Cai
2dc712a9be 📝 docs: files access denied in one-click deploy (#6213) 2025-02-16 22:19:10 +08:00
Rylan Cai
b61cec7444 📝 docs: fix casdoor webhooks & add Chinese warnings in local docker compose template (#6181)
* 📝 docs: fix webhook url in docs

* 👷 ci: add zh warning

* 📝 docs: fix webhooks url
2025-02-16 00:20:03 +08:00
Rylan Cai
5cc967ad95 👷 chore: Add configuration check for docker compose at setup.sh (#5926)
* 👷 chore: add configuration check in local

* 🐛 fix: do not display error msg if correct

* ✏️ typo: fix incorrect description

* 👷 ci: add warnings
2025-02-11 00:59:35 +08:00
Arvin Xu
260c0fd5ec 🔨 chore: fix docker-compose.yml (#5890) 2025-02-08 16:34:28 +08:00
Rylan Cai
00f9d34001 🔨 chore: pin lobe-chat-database@1.51.3 in docker-compose.yml to avoid one-click deploy error (#5831) 2025-02-07 14:56:43 +08:00
Rylan Cai
cc088449ce 📝 docs: only detect private ip in port mode 2025-02-04 13:29:02 +08:00
Rylan Cai
b63765ccce 📝 docs: Refactor the setup.sh to make deployment much easier (#5290)
* 🚧 wip: wip

*  feat: create s3 bucket at start

* 🐛 fix: pswd shown in plain

* ♻️ refactor: remove unpack commands

* 🔨 ci: update script

* 🐛 fix: env files not downloaded

* 🔨 chore: support interact prompts

* 🐛 fix: AUTH_URL

* 🐛 fix: should download first

* 🐛 fix: let casdoor set origin

* 📝 docs: update docs for new setup

* 📝 docs: user non-admin app for lobe

* 👷 chore: remove -f for setup.sh

* 📝 docs: user

* 👷 chore: fix wrong host for casdoor

* 📝 docs: en docs

* 📝 docs: use new script

* ✏️ typo: fix typos

* 🐛 fix: wrong ip setup

* 🐛 fix: protocal generate failed

* 🐛 fix: remove warning

* ♻️ refactor: add warning for ip mode

* 📝 docs: display reverse proxy

* ♻️ refactor: move setup.sh to ../

* ✏️ typo: fix typos

* ♻️ refactor: remove setup.sh
2025-02-03 23:50:22 +08:00
wbean
13c3455414 🔨 chore: local docker-compose setup.sh compatible mac osx (#5247)
* Update setup.sh

fix: local docker-compose setup.sh compatible maxos

* Update setup.sh

remove unnecessary branch for system chosen
2025-01-27 10:43:47 +08:00
Yao Cai
c0439c0fd8 📝 docs: support use custom host in docker-compose setup script & regenerate secrets (#4576) 2024-12-05 09:33:11 +08:00
Arthals
2820697103 📝docs: align variable names (#4369) 2024-10-14 21:50:22 +08:00
Arthals
c04afbadaa 📝docs: docker compose project name (#4349) 2024-10-13 12:09:16 +08:00
Arthals
62cbf1c032 📝docs: add casdoor docker compose document (#4338)
* 📝docs: Casdoor

* 📝docs: Docker-compose

* 📝docs: Docker-compose

* 📝docs: English ver.

* 📝docs: Incorporate review suggestions

* 📝docs: Incorporate review suggestions
2024-10-13 10:49:20 +08:00
Yao Cai
b36d466cb5 ♻️ docs: Maintainable configurations for casdoor initialization (#4259)
* ♻️ refactor: make init_data.json visible

* ♻️ refactor: remove unused webapi records

* ♻️ refactor: remove unused signin methods

* :refactor: recycle: remove unused tokens

* ♻️ refactor: remove unused providers

* 🐛 fix: wrong redirectUrls

* 💄 style: use lobe branding

* 👷 ci: specific docker compose file version

* ♻️ refactor: remove session

* ♻️ refactor: enableLinkWithEmail

*  revert: - version for docker compose

* 🐛 fix: command not work on newest docker
2024-10-10 19:40:25 +08:00
Lumia
88dc3c9617 📝 docs: Add deployment using ZITADEL authentication services (#4081)
* Create docker-compose.yml for local deploy with zitadel

Create docker-compose.yml for local deploy with zitadel

* Create .env.zh-CN.example for local deploy with zitadel

Create .env.zh-CN.example for local deploy with zitadel

* Create .env.example for local deploy with zitadel

Create .env.example for local deploy with zitadel

* Update .env.zh-CN.example

* Create docker-compose.yml for self-hosting with zitadel

Create docker-compose.yml for self-hosting with zitadel

* Create .env.zh-CN.example for self-hosting deploy with zitadel

Create .env.zh-CN.example for self-hosting deploy with zitadel

* Create .env.example for self-host deploy with zitadel

Create .env.example for self-host deploy with zitadel

* Create zitadel-init-steps.yaml

* Create zitadel-config.yaml

* Update docker-compose.yml

* Update docker-compose.yml

* Create zitadel-config.yaml

* Create zitadel-init-steps.yaml

* Update .env.zh-CN.example

* Update .env.example

* Update .env.example

* Update .env.zh-CN.example

* Update zitadel-init-steps.yaml
2024-09-28 23:35:48 +08:00
Yao Cai
bc264fe4e7 📝 docs: update docker-compose local auth to casdoor (#3855)
* 👷 ci: casdoor in compose

* 🐛 fix: casdoor well-known error

* ♻️ refactor: move envs

* 👷 ci: add s3 demo data

* 👷 ci: Add start script

* 👷 ci: update setup script

* 👷 ci: compress asserts

* ♻️ refactor: rename `demo` to `local`, `local` to `local-logto`

* 🐛 fix: file not found

* ♻️ refactro: download asynchronously

* 🌐 i18n: support zh_CN in setup.sh

* 🐛 fix: tips shown format error

* ♻️ fix: spacing

* 🐛 fix: LC error

* 🐛 fix: update url to main repo

* ♻️ refactor: remove annotations

* 📝 docs: update local-logto docs

* 👷 build: add `LLM_VISION_IMAGE_USE_BASE64=1`

* 💄 style: remove alert text color

* ♻️ refactor: use casdoor provider

* ♻️ refactor: no multithreading

* 🐛 fix: use casdoor provider

* 🐛 fix: i18n in lower version of bash

* 💄 style: remove color

* ♻️ refactor: - duplicate casdoor ports
2024-09-24 20:01:24 +08:00
Arthals
988d7441e4 📝 docs: fix db name in docker (#3829) 2024-09-08 23:37:00 +08:00
qq940500529
c9e7e316b8 📝 docs: correct typo in 'openai api key' in .env example and documentation (#3797) 2024-09-06 23:21:48 +08:00
Arthals
e3f898cec1 📝 docs: Docker Compose (#3687)
* 📝 docs: Docker Compose

* 📝 docs: Tencent Cloud

* 📝 docs: S3 & Some note

* 📝 docs: Link's lang
2024-08-30 23:22:49 +08:00
Arvin Xu
1f9eb04525 📝 docs: improve docker-compose (#3661)
* improve docker-compose

* improve docs

* improve docs

* improve docs
2024-08-29 15:31:19 +08:00
Arthals
cef1733976 📝 docs: Docker compose for local. (#3651) 2024-08-28 18:59:16 +08:00
Arthals
64eb7c24d2 📝 docs: Logto & fix typo. (#3641)
* 📝 docs: Logto & fix typo.

* 📝 docs: Logto variables & fix typo.
2024-08-28 10:30:12 +08:00
Arthals
ae3bc82527 📝 docs: Docker Compose for database ver. (#3607)
* 📝 docs: Docker for database ver.

* 📝 docs: Docker / Docker compose for database ver.

* 📝 docs: MinIO

* 📝 docs: Other S3

* 📝 docs: Quick Start

* 📝 docs: SSL

* 📝 docs: SSL

* 📝 docs: Docker-Compose english ver.

* 📝 docs: Docker-Compose for database ver.
2024-08-27 23:52:20 +08:00