[Unraid 系列 v6.9.2] 9 优化 IPv6 访问(LANraragi 示例)

Ubuntu Server 虚拟机

在完成了 Unraid 8 虚拟机 KVM(Ubuntu Server、Windows 10) 之后,因 LANraragi 容器无法在 Unraid 中通过 [IPv6]:[Port] 方式访问,所以这里使用 虚拟机 + 宝塔面板 对外提供 [IPv6]:[Port] 服务。

宝塔面板

待 Docker 容器正常启动进行反向代理。

Docker Compose

DDns

具体请参考:Unraid 7 IPv6 DDns

复制version: '3.2'

services:
  newfuture-ddns-local:
    image: newfuture/ddns
    container_name: newfuture-ddns-local
    network_mode: "host"
    volumes:
      - /mnt/user/appdata/newfuture-ddns-local/config.json:/config.json

具体数据卷请参考 Unraid 8 虚拟机 KVM(Ubuntu Server、Windows 10)

复制version: '3.4'

services:
  lanraragi:
    image: difegue/lanraragi
    container_name: lanraragi
    network_mode: "bridge"
    ports:
      - 3000:3000
    volumes:
      - /mnt/lanraragi/content:/home/koyomi/lanraragi/content
      - /mnt/lanraragi/comic:/home/koyomi/lanraragi/content/comic
      - /mnt/lanraragi/database:/home/koyomi/lanraragi/database

注意:虚拟机对外端口不要改变,经过测试,改变端口后无法通过 [IPv6]:[Port] 方式访问。

作者:Yogile

出处:https://www.cnblogs.com/Yogile/p/16061769.html

版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。

posted @   Yogile  阅读(1160)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
历史上的今天:
2020-03-27 树莓派 配置 OMV 搭建 NAS(二) 配置 OMV 5
2020-03-27 树莓派 系统配置
2020-03-27 树莓派/Debian 网线连接主机
点击右上角即可分享
微信分享提示
more_horiz
keyboard_arrow_up dark_mode palette
选择主题