chore: update for sabnzbd
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
# Readarr has been archived/retired.
|
||||
# Keeping this for history
|
||||
# ---
|
||||
# - name: Create directories
|
||||
# file:
|
||||
# path: "{{ item }}"
|
||||
# state: directory
|
||||
# with_items:
|
||||
# - "/data/readarr"
|
||||
# - "/data/readarr/config"
|
||||
|
||||
# - name: Create the readarr container
|
||||
# docker_container:
|
||||
# name: readarr
|
||||
# image: linuxserver/readarr:develop@sha256:eb37f58646a901dc7727cf448cae36daaefaba79de33b5058dab79aa4c04aefb
|
||||
# restart_policy: unless-stopped
|
||||
# recreate: true
|
||||
# networks:
|
||||
# - name: proxy
|
||||
# env:
|
||||
# PUID: "1000"
|
||||
# PGID: "1000"
|
||||
# TZ: "Australia/Brisbane"
|
||||
# DOCKER_MODS: "ghcr.io/themepark-dev/theme.park:readarr"
|
||||
# volumes:
|
||||
# - "/data/readarr/config/:/config"
|
||||
# - /mnt/nfs/data/:/data
|
||||
# labels:
|
||||
# traefik.enable: "true"
|
||||
# traefik.http.routers.readarr.rule: "Host(`readarr.comprofix.xyz`)"
|
||||
# traefik.http.routers.readarr.entrypoints: "https"
|
||||
# traefik.http.routers.readarr.tls: "true"
|
||||
# traefik.http.services.readarr.loadbalancer.server.port: "8787"
|
@@ -6,11 +6,18 @@
|
||||
with_items:
|
||||
- "/data/sabnzbd"
|
||||
- "/data/sabnzbd/config"
|
||||
|
||||
- name: Pull docker image
|
||||
community.docker.docker_image:
|
||||
image: linuxserver/sabnzbd
|
||||
tag: 4.5.3
|
||||
source: pull
|
||||
register: docker_image
|
||||
|
||||
- name: Create the sabnzbd container
|
||||
docker_container:
|
||||
name: sabnzbd
|
||||
image: linuxserver/sabnzbd:4.5.3
|
||||
image: "{{ docker_image.image.RepoTags[0] }}"
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
@@ -30,3 +37,5 @@
|
||||
traefik.http.routers.sabnzbd.entrypoints: "https"
|
||||
traefik.http.routers.sabnzbd.tls: "true"
|
||||
traefik.http.services.sabnzbd.loadbalancer.server.port: "8080"
|
||||
when: docker_image.changed
|
||||
register: container_sabnzbd
|
||||
|
Reference in New Issue
Block a user