-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Labels
🐛 Bug
Something isn't working | 缺陷
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
📦 部署环境
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)"
📷 复现步骤
已经描述
🚦 期望结果
已经描述
📝 补充信息
已经描述
The text was updated successfully, but these errors were encountered: