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