32 lines
906 B
YAML
32 lines
906 B
YAML
|
---
|
||
|
- name: Create directories
|
||
|
file:
|
||
|
path: "{{ item }}"
|
||
|
state: directory
|
||
|
with_items:
|
||
|
- "/mnt/nfs/docker/prowlarr"
|
||
|
- "/mnt/nfs/docker/prowlarr/config"
|
||
|
|
||
|
- name: Create the prowlarr container
|
||
|
docker_container:
|
||
|
name: prowlarr
|
||
|
image: linuxserver/prowlarr:1.23.1
|
||
|
restart_policy: unless-stopped
|
||
|
recreate: true
|
||
|
networks:
|
||
|
- name: proxy
|
||
|
env:
|
||
|
PUID: "1000"
|
||
|
PGID: "1000"
|
||
|
TZ: "Australia/Brisbane"
|
||
|
AUTO_UPDATE: "true" #optional
|
||
|
DOCKER_MODS: "ghcr.io/themepark-dev/theme.park:prowlarr"
|
||
|
volumes:
|
||
|
- /mnt/nfs/docker/prowlarr/config:/config
|
||
|
labels:
|
||
|
traefik.enable: "true"
|
||
|
traefik.http.routers.prowlarr.rule: "Host(`prowlarr.comprofix.xyz`)"
|
||
|
traefik.http.routers.prowlarr.entrypoints: "https"
|
||
|
traefik.http.routers.prowlarr.tls: "true"
|
||
|
traefik.http.services.prowlarr.loadbalancer.server.port: "9696"
|