[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] 方式訪問。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM