当前位置:   article > 正文

威联通使用Docker Compose一键搭建NAS Tools_nastool 一键部署

nastool 一键部署
  1. version: '3.7'
  2. services:
  3. nas-tools:
  4. container_name: nas-tools
  5. hostname: nas-tools
  6. image: diluka/nas-tools:2.9.1
  7. ports:
  8. - "3000:3000"
  9. volumes:
  10. - /share/CACHEDEV1_DATA/Container/nastools:/config
  11. - /share/CACHEDEV3_DATA/Video:/media
  12. environment:
  13. - PUID=1000
  14. - PGID=100
  15. - UMASK=000
  16. - NASTOOL_AUTO_UPDATE=false
  17. restart: unless-stopped
  18. qbittorrent:
  19. container_name: qbittorrent
  20. image: johngong/qbittorrent:4.6.0-4.6.0.10
  21. environment:
  22. - QB_WEBUI_PORT=8989
  23. - QB_EE_BIN=false
  24. - PUID=1000
  25. - PGID=100
  26. - UMASK=022
  27. - TZ=Asia/Shanghai
  28. ports:
  29. - "6881:6881"
  30. - "8989:8989"
  31. - "6881:6881/udp"
  32. volumes:
  33. - /share/CACHEDEV1_DATA/Container/qbittorrent:/config
  34. - /share/CACHEDEV3_DATA/Video:/Downloads
  35. restart: unless-stopped
  36. jellyfin:
  37. container_name: jellyfin
  38. image: nyanmisaka/jellyfin:latest
  39. environment:
  40. - PUID=1000
  41. - PGID=100
  42. - TZ=Asia/Shanghai
  43. ports:
  44. - "8096:8096"
  45. - "8920:8920"
  46. volumes:
  47. - /share/CACHEDEV1_DATA/Container/jellyfin:/config
  48. - /share/CACHEDEV3_DATA/Video:/medie
  49. devices:
  50. - /dev/dri:/dev/dri
  51. restart: unless-stopped
  52. chinesesubfinder:
  53. container_name: chinesesubfinder
  54. hostname: chinesesubfinder
  55. image: allanpk716/chinesesubfinder:latest
  56. volumes:
  57. - /share/CACHEDEV1_DATA/Container/chinesesubfinder/config:/config
  58. - /share/CACHEDEV3_DATA/Video/Link:/media
  59. - /share/CACHEDEV1_DATA/Container/chinesesubfinder/browser:/root/.cache/rod/browser
  60. environment:
  61. - PUID=1000
  62. - PGID=100
  63. - PERMS=true
  64. - TZ=Asia/Shanghai
  65. - UMASK=022
  66. ports:
  67. - "19035:19035"
  68. - "19037:19037"
  69. logging:
  70. driver: json-file
  71. options:
  72. max-size: "100m"
  73. jackett:
  74. container_name: jackett
  75. image: linuxserver/jackett:latest
  76. environment:
  77. - PUID=1000
  78. - PGID=100
  79. - TZ=Asia/shanghai
  80. - AUTO_UPDATE=true
  81. ports:
  82. - "9117:9117"
  83. volumes:
  84. - /share/CACHEDEV1_DATA/Container/jackett/config:/config
  85. - /share/CACHEDEV1_DATA/Container/jackett/downloads:/downloads
  86. restart: unless-stopped

以上YAML代码需要改动:

  • 1,所有“ ports ”下面对应的为端口映射,冒号前面的端口号都可以改动,如果没有和本地容器端口冲突个人建议默认即可,无需改动。

  • 2,所有“ volumes ”下面对应的为路径映射,冒号前面都必须修改为容器对应的NAS本地实际路径,具体的对应关系就按前面准备工作我给出的两个流程图即可。

  • 3,所有“ environment ”下面为容器的环境变量,一般来说直接按我给出的不用改动即可。为了保险起见,我们最好将PUID和PGID修改成自己NAS当前使用的用户名自己的。

两个流程图:

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小惠珠哦/article/detail/811123
推荐阅读
相关标签
  

闽ICP备14008679号