nas.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. ---
  2. container_user: "{{ vaulted_container_user }}"
  3. container_uid: 1558
  4. container_group: "{{ vaulted_container_group }}"
  5. container_gid: 3333
  6. backups: containers
  7. backups_ignore: /mergerfs
  8. global_env_vars:
  9. - PUID={{ container_uid }}
  10. - PGID={{ container_gid }}
  11. - TZ=America/Los_Angeles
  12. firewall_ports:
  13. - 80/tcp
  14. - 5000/tcp
  15. - 8080/tcp
  16. - 8081/tcp
  17. - 8337/tcp
  18. - 9091/tcp
  19. - 10022/tcp
  20. - 10880/tcp
  21. container_networks:
  22. - name: downloaders
  23. driver: bridge
  24. subnet: 172.21.10.0/24
  25. ip_range: 172.21.10.0/24
  26. gateway: 172.21.10.1
  27. - name: heimdall
  28. driver: bridge
  29. subnet: 172.22.20.0/24
  30. ip_range: 172.22.20.0/24
  31. gateway: 172.22.20.1
  32. # old docker-compose from EPEL complains about mem_limit
  33. # omit until nas is upgraded
  34. containers:
  35. - name: sickchill
  36. active: true
  37. image: linuxserver/sickchill
  38. ports:
  39. - 8081:8081
  40. volumes:
  41. - /opt/sickchill:/config
  42. - /mergerfs/private/processing/sickchill:/mergerfs/private/processing/sickchill
  43. - /mergerfs/private/processing/incomplete:/mergerfs/private/processing/incomplete
  44. - /mergerfs/public/Videos/TV Shows:/mergerfs/public/Videos/TV Shows
  45. - /mergerfs/private/Videos/TV Shows:/mergerfs/private/Videos/TV Shows
  46. include_global_env_vars: true
  47. restart: unless-stopped
  48. networks:
  49. - downloaders
  50. - name: transmission
  51. active: true
  52. image: linuxserver/transmission
  53. ports:
  54. - 9091:9091
  55. volumes:
  56. - /opt/transmission:/config
  57. - /mergerfs/private/processing/incomplete:/mergerfs/private/processing/incomplete
  58. - /mergerfs/private/processing/sickchill:/mergerfs/private/processing/sickchill
  59. - /mergerfs/private/processing/sortmanually:/mergerfs/private/processing/sortmanually
  60. include_global_env_vars: true
  61. environment:
  62. - USER={{ vaulted_nas_transmission_username }}
  63. - PASS={{ vaulted_nas_transmission_password }}
  64. restart: unless-stopped
  65. networks:
  66. - downloaders
  67. - name: qbittorrent
  68. active: true
  69. image: linuxserver/qbittorrent
  70. ports:
  71. - 8080:8080
  72. volumes:
  73. - /opt/qbittorrent:/config
  74. - /mergerfs/private/processing/qbittorrent:/mergerfs/private/processing/qbittorrent
  75. include_global_env_vars: true
  76. environment:
  77. - WEBUI_PORT=8080
  78. restart: unless-stopped
  79. networks:
  80. - downloaders
  81. - name: heimdall
  82. active: true
  83. image: linuxserver/heimdall
  84. ports:
  85. - 80:80
  86. volumes:
  87. - /opt/heimdall:/config
  88. include_global_env_vars: true
  89. restart: unless-stopped
  90. networks:
  91. - heimdall
  92. - name: beets
  93. active: true
  94. image: linuxserver/beets
  95. ports:
  96. - 8337:8337
  97. volumes:
  98. - /opt/beets:/config
  99. - /mergerfs/public/Music:/music
  100. - /mergerfs/private/processing/music:/downloads
  101. include_global_env_vars: true
  102. restart: unless-stopped
  103. - name: gogs
  104. active: true
  105. image: gogs/gogs
  106. ports:
  107. - "10022:22" # https://github.com/go-yaml/yaml/issues/34#issuecomment-55772666
  108. - 10880:3000
  109. volumes:
  110. - /opt/gogs:/data
  111. restart: unless-stopped
  112. networks:
  113. - heimdall
  114. - name: flask-ytdl
  115. active: true
  116. image: flask-ytdl
  117. ports:
  118. - 5000:8080
  119. volumes:
  120. - /mergerfs/public/Music Videos:/output
  121. restart: unless-stopped
  122. networks:
  123. - heimdall
  124. host_bash_aliases:
  125. - user: root
  126. alias: beetsh
  127. command: docker exec -it beets bash
  128. - user: root
  129. alias: snapraid-watch-log
  130. command: tail -f /tmp/snapRAID.log
  131. - user: sambatouch
  132. alias: cdqbt
  133. command: cd /mergerfs/private/processing/qbittorrent