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

[文档相关] 群晖部署及升级教程 #18

Open
3 tasks done
huasenjio opened this issue Jun 16, 2024 · 0 comments
Open
3 tasks done

[文档相关] 群晖部署及升级教程 #18

huasenjio opened this issue Jun 16, 2024 · 0 comments

Comments

@huasenjio
Copy link
Owner

提交前搜索 issues

  • 我已经搜索了issues,没有发现类似的问题。

文档相关

部署包

由于群晖的系统,没法通过脚本、docker自动创建文件夹,所以需要单独提供一个版本,下载地址:http://n.huasenjio.top/huasen-store/zip/huasenjio-compose-nas-20240616.zip

视频教程

由于我没有群晖真实的测试机器,仅在虚拟机中演示,所以视频可能覆盖面不全,大家看视频时,打开评论区和弹幕,多交流学习,视频地址:https://www.bilibili.com/video/BV1oe411b72B/

升级教程

源码替换

如上所述,由于群晖系统限制,无法通过upgrade.sh脚本一键升级网站,那么我们得手动替换源码,完成网站源码更新升级,以下列出需要保留的文件和目录,没有提到的内容,使用新部署包或huasenjio-compose仓库内的对应文件覆盖即可。

├── huasen-log // 保留
├── huasen-mongo // 保留
├── huasen-nginx // 保留
├── huasen-redis // 保留
└── huasen-server
  └── setting.json // 保留
├── huasen-store // 保留
└── docker-compose.yml // 保留

更新生效

在根目录中使用docker-compose down命令,将全部容器停掉,然后执行docker-compose up -d --build,重新构建镜像并运行。

你愿意提交 PR 吗?

  • 是的,我愿意提交 PR !

行为准则

  • 严格遵守中华人民共和国相关法律,项目仅供大家学习交流,请勿用于商业用途!
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

No branches or pull requests

1 participant