add jackett, fix gluetun
All checks were successful
Deploy Containers / Prepare (push) Successful in 54s
All checks were successful
Deploy Containers / Prepare (push) Successful in 54s
This commit is contained in:
3
main.yml
3
main.yml
@@ -85,6 +85,9 @@
|
|||||||
- name: Deploy Kavita
|
- name: Deploy Kavita
|
||||||
import_tasks: tasks/kavita.yml
|
import_tasks: tasks/kavita.yml
|
||||||
tags: kavita_deploy
|
tags: kavita_deploy
|
||||||
|
- name: Deploy Jackett
|
||||||
|
import_tasks: tasks/jackett.yml
|
||||||
|
tags: jackett_deploy
|
||||||
|
|
||||||
- hosts: jackson
|
- hosts: jackson
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
docker_container:
|
docker_container:
|
||||||
name: gluetun
|
name: gluetun
|
||||||
image: qmcgaw/gluetun
|
image: qmcgaw/gluetun
|
||||||
|
recreate: true
|
||||||
capabilities:
|
capabilities:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
devices:
|
devices:
|
||||||
@@ -27,7 +28,7 @@
|
|||||||
published_ports:
|
published_ports:
|
||||||
- 8888:8888/tcp
|
- 8888:8888/tcp
|
||||||
- 8388:8388/tcp
|
- 8388:8388/tcp
|
||||||
- 8388:8388/ud
|
- 8388:8388/udp
|
||||||
env:
|
env:
|
||||||
VPN_SERVICE_PROVIDER: "{{ GLUETUN_VPN_SERVICE_PROVIDER }}"
|
VPN_SERVICE_PROVIDER: "{{ GLUETUN_VPN_SERVICE_PROVIDER }}"
|
||||||
VPN_TYPE: "wireguard"
|
VPN_TYPE: "wireguard"
|
||||||
|
35
tasks/jackett.yml
Normal file
35
tasks/jackett.yml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
- name: Create folder structure
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- "{{ data_dir }}/jackett"
|
||||||
|
|
||||||
|
- name: Pull latest Jackett Docker Image
|
||||||
|
docker_image:
|
||||||
|
name: lscr.io/linuxserver/jackett
|
||||||
|
tag: latest
|
||||||
|
source: pull
|
||||||
|
|
||||||
|
- name: Deploy Jackett Docker Container
|
||||||
|
docker_container:
|
||||||
|
name: jackett
|
||||||
|
image: lscr.io/linuxserver/jackett
|
||||||
|
recreate: true
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
networks:
|
||||||
|
- name: homelab
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/jackett:/config"
|
||||||
|
- "{{ media_path}}/Downloads:/downloads"
|
||||||
|
env:
|
||||||
|
PUID: "{{ PUID }}"
|
||||||
|
PGID: "{{ PGID }}"
|
||||||
|
TZ: "{{ TZ }}"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.jackett.rule: Host(`jackett.fntz.net`)
|
||||||
|
traefik.http.routers.jackett.entrypoints: webSecure
|
||||||
|
traefik.http.routers.jackett.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.jackett.loadbalancer.server.port: "9117"
|
Reference in New Issue
Block a user