From 988d7441e43300b5a4a9c19b5677b1637a5b7a8c Mon Sep 17 00:00:00 2001 From: Arthals <36695271+zhuozhiyongde@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:37:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20fix=20db=20name=20in=20d?= =?UTF-8?q?ocker=20(#3829)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose/production/.env.example | 2 +- docker-compose/production/.env.zh-CN.example | 2 +- docs/self-hosting/server-database/docker-compose.mdx | 2 +- docs/self-hosting/server-database/docker-compose.zh-CN.mdx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose/production/.env.example b/docker-compose/production/.env.example index 7d80c5958d78..50f34504f6f4 100644 --- a/docker-compose/production/.env.example +++ b/docker-compose/production/.env.example @@ -8,7 +8,7 @@ KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ= # Required: Postgres database connection string # Format: postgresql://username:password@host:port/dbname # If using Docker, you can use the container name as the host -DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/postgres +DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobe # NEXT_AUTH related environment variables # Supports auth0, Azure AD, GitHub, Authentik, Zitadel, Logto, etc. diff --git a/docker-compose/production/.env.zh-CN.example b/docker-compose/production/.env.zh-CN.example index e3c1b3823fa2..8da19159f988 100644 --- a/docker-compose/production/.env.zh-CN.example +++ b/docker-compose/production/.env.zh-CN.example @@ -7,7 +7,7 @@ APP_URL=https://lobe.example.com/ KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ= # 必填,Postgres 数据库连接字符串,用于连接到数据库 # 格式:postgresql://username:password@host:port/dbname,如果你的 pg 实例为 Docker 容器且位于同一 docker-compose 文件中,亦可使用容器名作为 host -DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/postgres +DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobe # NEXT_AUTH 相关,也即鉴权服务必需的环境变量 # 可以使用 auth0、Azure AD、GitHub、Authentik、Zitadel、Logto 等,如有其他接入诉求欢迎提 PR diff --git a/docs/self-hosting/server-database/docker-compose.mdx b/docs/self-hosting/server-database/docker-compose.mdx index 473d7ac85074..623fb2f49a09 100644 --- a/docs/self-hosting/server-database/docker-compose.mdx +++ b/docs/self-hosting/server-database/docker-compose.mdx @@ -503,7 +503,7 @@ KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ= # Required: Postgres database connection string # Format: postgresql://username:password@host:port/dbname # If using Docker, you can use the container name as the host -DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/postgres +DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobe # NEXT_AUTH related environment variables # Supports auth0, Azure AD, GitHub, Authentik, Zitadel, Logto, etc. diff --git a/docs/self-hosting/server-database/docker-compose.zh-CN.mdx b/docs/self-hosting/server-database/docker-compose.zh-CN.mdx index 90129faf78ba..9f0faa6728b2 100644 --- a/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +++ b/docs/self-hosting/server-database/docker-compose.zh-CN.mdx @@ -499,7 +499,7 @@ APP_URL=https://lobe.example.com/ KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ= # 必填,Postgres 数据库连接字符串,用于连接到数据库 # 格式:postgresql://username:password@host:port/dbname,如果你的 pg 实例为 Docker 容器且位于同一 docker-compose 文件中,亦可使用容器名作为 host -DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/postgres +DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobe # NEXT_AUTH 相关,也即鉴权服务必需的环境变量 # 可以使用 auth0、Azure AD、GitHub、Authentik、Zitadel、Logto 等,如有其他接入诉求欢迎提 PR