Skip to content

feat: add docker deploy support#409

Open
PBK-B wants to merge 1 commit intoopenRin:trunkfrom
PBK-B:bin/feat_docker_deploy
Open

feat: add docker deploy support#409
PBK-B wants to merge 1 commit intoopenRin:trunkfrom
PBK-B:bin/feat_docker_deploy

Conversation

@PBK-B
Copy link
Collaborator

@PBK-B PBK-B commented Jan 11, 2026

使用 Docker 运行 Rin

1、首先 clone 代码仓库 git clone https://github.com/openRin/Rin.git

2、参考文档 环境变量列表 创建并配置文件 .dev.varswrangler.toml

# 构建 image
docker build . -f ./deploy/Dockerfile -t rinapp

# 启动服务
docker run -d \
  -p 11498:11498 \
  -p 5173:5173 \
  -v .dev.vars:/app/.dev.vars \
  -v ./wrangler.toml:/app/wrangler.toml \
  -v ./data/wrangler:/app/.wrangler \
  rinapp:latest

http://127.0.0.1:11498 为部署的后端地址,http://127.0.0.1:5173 为部署的前端地址。数据存储目录为 ./data 文件夹。可根据自己需求调整 docker 运行参数。

解决: #401

@PBK-B
Copy link
Collaborator Author

PBK-B commented Jan 12, 2026

@OXeu TBR;

@PBK-B PBK-B requested a review from OXeu January 12, 2026 02:12
@OXeu OXeu changed the title feat: add docker deploy #401 feat: add docker deploy support Jan 12, 2026
Copy link
Collaborator

@OXeu OXeu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.dev.vars and .wrangler.toml should provide the corresponding default values as well as environment variables to facilitate out-of-the-box use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants