Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] docker-compose 部署的操作手册需要更新 #2968

Open
KingDoum opened this issue Jun 21, 2024 · 1 comment
Open

[Bug] docker-compose 部署的操作手册需要更新 #2968

KingDoum opened this issue Jun 21, 2024 · 1 comment
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@KingDoum
Copy link

📦 部署环境

Docker

📌 软件版本

all

💻 系统环境

Windows

🌐 浏览器

Chrome

🐛 问题描述

在docker-compose 部署页面里 勘误, 我发现需要改个名字~
网址:https://lobehub.com/zh/docs/self-hosting/platform/docker-compose
version: '3.8'

services:
lobe-chat:
image: lobehub/lobe-chat
container_name: lobe-chat # 此处需要改成Lobe-Chat
restart: always
ports:
- '3210:3210'
environment:
OPENAI_API_KEY: sk-xxxx
OPENAI_PROXY_URL: https://api-proxy.com/v1
ACCESS_CODE: lobe66

如果此处,不修改的话, 利用crontab 定时运行更新文件的时候,就会出现问题,因为里面的 自动更新脚本 都是起名叫Lobe-Chat 前后不一致,容易无法更新
在运行Crontab 自动更新脚本(可选)中
echo "Started: $(docker-compose up)"
可以改成下面这段话

拉取新的镜像并重新启动容器

echo "Started: $(docker-compose pull && docker-compose up -d)"

📷 复现步骤

已经描述

🚦 期望结果

已经描述

📝 补充信息

已经描述

@KingDoum KingDoum added the 🐛 Bug Something isn't working | 缺陷 label Jun 21, 2024
@lobehubbot
Copy link
Member

👀 @KingDoum

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

2 participants