claude-3-5-sonnet-20240620
go
$ docker run -d -p 3210:3210 \
-e OPENAI_API_KEY=sk-xxxx \
-e OPENAI_PROXY_URL=https://api-proxy.com/v1 \
-e ACCESS_CODE=lobe66 \
--name lobe-chat \
lobehub/lobe-chat
Docker 部署 更新
go
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5b2633ff1671 lobehub/lobe-chat "docker-entrypoint.s..." 9 hours ago Up 9 hours 0.0.0.0:3210->3210/tcp, :::3210->3210/tcp lobe-chat
停止并删除当前运行的 LobeChat 容器
go
docker stop lobe-chat
docker rm lobe-chat
拉取最新的 LobeChat 镜像
go
docker pull lobehub/lobe-chat
重新启动 Docker 容器
go
docker run -d -p 3210:3210 \
-e OPENAI_API_KEY=sk-xxxx \
-e OPENAI_PROXY_URL=https://api-proxy.com/v1 \
-e ACCESS_CODE=lobe66 \
--name lobe-chat \
lobehub/lobe-chat