0


威联通使用Docker Compose一键搭建NAS Tools

version: '3.7'
services:
  nas-tools:
    container_name: nas-tools
    hostname: nas-tools
    image: diluka/nas-tools:2.9.1
    ports:
      - "3000:3000"
    volumes:
      - /share/CACHEDEV1_DATA/Container/nastools:/config
      - /share/CACHEDEV3_DATA/Video:/media
    environment:
      - PUID=1000
      - PGID=100
      - UMASK=000
      - NASTOOL_AUTO_UPDATE=false
    restart: unless-stopped
  qbittorrent:
    container_name: qbittorrent
    image: johngong/qbittorrent:4.6.0-4.6.0.10
    environment:
      - QB_WEBUI_PORT=8989
      - QB_EE_BIN=false
      - PUID=1000
      - PGID=100
      - UMASK=022
      - TZ=Asia/Shanghai
    ports:
      - "6881:6881"
      - "8989:8989"
      - "6881:6881/udp"
    volumes:
      - /share/CACHEDEV1_DATA/Container/qbittorrent:/config
      - /share/CACHEDEV3_DATA/Video:/Downloads
    restart: unless-stopped
  jellyfin:
    container_name: jellyfin
    image: nyanmisaka/jellyfin:latest
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Asia/Shanghai
    ports:
      - "8096:8096"
      - "8920:8920"
    volumes:
      - /share/CACHEDEV1_DATA/Container/jellyfin:/config
      - /share/CACHEDEV3_DATA/Video:/medie
    devices:
      - /dev/dri:/dev/dri
    restart: unless-stopped
  chinesesubfinder:
    container_name: chinesesubfinder
    hostname: chinesesubfinder
    image: allanpk716/chinesesubfinder:latest
    volumes:
      - /share/CACHEDEV1_DATA/Container/chinesesubfinder/config:/config
      - /share/CACHEDEV3_DATA/Video/Link:/media
      - /share/CACHEDEV1_DATA/Container/chinesesubfinder/browser:/root/.cache/rod/browser
    environment:
      - PUID=1000
      - PGID=100
      - PERMS=true
      - TZ=Asia/Shanghai
      - UMASK=022
    ports:
      - "19035:19035"
      - "19037:19037"
    logging:
      driver: json-file
      options:
        max-size: "100m"
  jackett:
    container_name: jackett
    image: linuxserver/jackett:latest
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Asia/shanghai
      - AUTO_UPDATE=true
    ports:
      - "9117:9117"
    volumes:
      - /share/CACHEDEV1_DATA/Container/jackett/config:/config
      - /share/CACHEDEV1_DATA/Container/jackett/downloads:/downloads
    restart: unless-stopped

以上YAML代码需要改动:

  • 1,所有“ ports ”下面对应的为端口映射,冒号前面的端口号都可以改动,如果没有和本地容器端口冲突个人建议默认即可,无需改动。
  • 2,所有“ volumes ”下面对应的为路径映射,冒号前面都必须修改为容器对应的NAS本地实际路径,具体的对应关系就按前面准备工作我给出的两个流程图即可。
  • 3,所有“ environment ”下面为容器的环境变量,一般来说直接按我给出的不用改动即可。为了保险起见,我们最好将PUID和PGID修改成自己NAS当前使用的用户名自己的。

两个流程图:

标签: composer

本文转载自: https://blog.csdn.net/qq_63499861/article/details/134770782
版权归原作者 Stark-C 所有, 如有侵权,请联系我们删除。

“威联通使用Docker Compose一键搭建NAS Tools”的评论:

还没有评论