Update env vars; remove redundant radarr

This commit is contained in:
Ryan Goodwin 2022-07-05 19:09:43 -04:00
parent 835864c53a
commit c1be300462
3 changed files with 34 additions and 19 deletions

View File

@ -30,5 +30,8 @@
image: containrrr/watchtower
restart_policy: always
command: --schedule "0 0 4 * * *"
env:
- "TZ={{ TZ }}"
- WATCHTOWER_CLEANUP=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View File

@ -108,23 +108,6 @@
ports:
- 7878:7878
- name: Deploy Radarr
community.docker.docker_container:
name: radarr
image: lscr.io/linuxserver/radarr
restart_policy: unless-stopped
env:
- "TZ={{ TZ }}"
- "PUID={{ PUID }}"
- "PGID={{ PGID }}"
volumes:
- "{{ CONFIG_FOLDER }}/radarr/config:/config"
- "{{ DOWNLOAD_FOLDER }}:/downloads"
- "{{ MOVIE_FOLDER }}:/movie"
- "{{ MOVIE_ANIME_FOLDER }}:/movie-anime"
ports:
- 8787:7878
- name: Deploy Radarr 4k
community.docker.docker_container:
name: radarr
@ -137,10 +120,39 @@
volumes:
- "{{ CONFIG_FOLDER }}/radarr/config:/config"
- "{{ DOWNLOAD_FOLDER }}:/downloads"
- "{{ MOVIE_4k_FOLDER }}:/movie"
- "{{ MOVIE_4K_FOLDER }}:/movie"
ports:
- 8787:7878
# Distributable Transcoding Server
- name: Deploy Tdarr
community.docker.docker_container:
name: tdarr-server
image: ghcr.io/haveagitgat/tdarr
restart_policy: unless-stopped
network_mode: bridge
env:
- "TZ={{ TZ }}"
- "PUID={{ PUID }}"
- "PGID={{ PGID }}"
- serverIP=0.0.0.0
- webUIPort=8265
- serverPort=8266
- internalNode=true
- nodeId=ServerNode
- NVIDIA_DRIVER_CAPABILITIES=all
- NVIDIA_VISIBLE_DEVICES=all
volumes:
- "{{ CONFIG_FOLDER }}/tdarr-server/server:/app/server"
- "{{ CONFIG_FOLDER }}/tdarr-server/config:/app/config"
- "{{ CONFIG_FOLDER }}/tdarr-server/logs:/app/logs"
- "{{ MEDIA_FOLDER }}:/content"
- /temp:/temp
ports:
- 8265:8265
- 8266:8266
# Music Manager
- name: Deploy Lidarr
community.docker.docker_container:

View File

@ -10,7 +10,7 @@
linesinfile:
state: present
path: "/etc/fstab"
line: "UUID=<SET_THIS_VALUE> /mnt/content auto defaults 0 0"
line: "UUID={{ DISK_UUID }} /mnt/content auto defaults 0 0"
notify:
- Manual Share Mount