nas.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. - service_name: sickchill
  36. active: true
  37. image: linuxserver/sickchill
  38. container_name: sickchill
  39. ports:
  40. - 8081:8081
  41. volumes:
  42. - /opt/sickchill:/config
  43. - /mergerfs/private/processing/sickchill:/mergerfs/private/processing/sickchill
  44. - /mergerfs/private/processing/incomplete:/mergerfs/private/processing/incomplete
  45. - /mergerfs/public/Videos/TV Shows:/mergerfs/public/Videos/TV Shows
  46. - /mergerfs/private/Videos/TV Shows:/mergerfs/private/Videos/TV Shows
  47. include_global_env_vars: true
  48. restart: unless-stopped
  49. networks:
  50. - downloaders
  51. - service_name: transmission
  52. active: true
  53. image: linuxserver/transmission
  54. container_name: transmission
  55. ports:
  56. - 9091:9091
  57. volumes:
  58. - /opt/transmission:/config
  59. - /mergerfs/private/processing/incomplete:/mergerfs/private/processing/incomplete
  60. - /mergerfs/private/processing/sickchill:/mergerfs/private/processing/sickchill
  61. - /mergerfs/private/processing/sortmanually:/mergerfs/private/processing/sortmanually
  62. include_global_env_vars: true
  63. environment:
  64. - USER={{ vaulted_nas_transmission_username }}
  65. - PASS={{ vaulted_nas_transmission_password }}
  66. restart: unless-stopped
  67. networks:
  68. - downloaders
  69. - service_name: qbittorrent
  70. active: true
  71. image: linuxserver/qbittorrent
  72. container_name: qbittorrent
  73. ports:
  74. - 8080:8080
  75. volumes:
  76. - /opt/qbittorrent:/config
  77. - /mergerfs/private/processing/qbittorrent:/mergerfs/private/processing/qbittorrent
  78. include_global_env_vars: true
  79. environment:
  80. - WEBUI_PORT=8080
  81. restart: unless-stopped
  82. networks:
  83. - downloaders
  84. - service_name: heimdall
  85. active: true
  86. image: linuxserver/heimdall
  87. container_name: heimdall
  88. ports:
  89. - 80:80
  90. volumes:
  91. - /opt/heimdall:/config
  92. include_global_env_vars: true
  93. restart: unless-stopped
  94. networks:
  95. - heimdall
  96. - service_name: beets
  97. active: true
  98. image: linuxserver/beets
  99. container_name: beets
  100. ports:
  101. - 8337:8337
  102. volumes:
  103. - /opt/beets:/config
  104. - /mergerfs/public/Music:/music
  105. - /mergerfs/private/processing/music:/downloads
  106. include_global_env_vars: true
  107. restart: unless-stopped
  108. - service_name: gogs
  109. active: true
  110. image: gogs/gogs
  111. container_name: gogs
  112. ports:
  113. - "10022:22" # https://github.com/go-yaml/yaml/issues/34#issuecomment-55772666
  114. - 10880:3000
  115. volumes:
  116. - /opt/gogs:/data
  117. restart: unless-stopped
  118. networks:
  119. - heimdall
  120. - service_name: flask-ytdl
  121. active: true
  122. image: flask-ytdl
  123. container_name: flask-ytdl
  124. ports:
  125. - 5000:8080
  126. volumes:
  127. - /mergerfs/public/Music Videos:/output
  128. restart: unless-stopped
  129. networks:
  130. - heimdall