Compare commits

...

5 Commits

Author SHA1 Message Date
Mike Wilson
9ef90db07b Add tor and bitcoin-daemon steps 2025-09-05 17:03:39 -04:00
Mike Wilson
458506e798 Add step to enable ufw rules 2025-09-05 16:11:25 -04:00
Mike Wilson
874c759f85 Add UFW task 2025-09-05 15:54:07 -04:00
Mike Wilson
237b07e76c Switch from overseerr to jellyseerr 2025-09-03 11:37:21 -04:00
Mike Wilson
3d5a5afe8d Add Upload.cx tracker 2025-09-03 11:36:46 -04:00
8 changed files with 62 additions and 51 deletions

View File

@@ -1,41 +1,3 @@
- hosts: pve-docker - hosts: pve-docker
roles: roles:
- pve-docker
- docker-compose
- traefik
- tautulli
- searxng
- prowlarr
- sonarr
- radarr
- firefly3
- overseerr
- ntfy
- gluetun
- autobrr
- name: slskd
tags: test
- name: soularr
tags: test
- beets
- qbittorrent - qbittorrent
- nextcloud
- redlib
- readarr
- calibre
- calibre-web
- deemix
- barassistant
- mealie
- recyclarr
- firefly3
- sabnzbd
- unifi-controller
- lidarr
- navidrome
- recyclarr
- lubelogger
- searxng
- synapse
- rimgo
- gitea

View File

@@ -0,0 +1,11 @@
- name: Install bitcoin daemon
ansible.builtin.package:
name: bitcoin-daemon
state: present
become: true
- name: Enable bitcoind
ansible.builtin.service:
name: bitcoind
state: started
enabled: yes

View File

@@ -0,0 +1,6 @@
- name: Install tor
ansible.builtin.package:
name: tor
state: present

View File

@@ -0,0 +1,32 @@
- name: Install Uncomplicated Firewall
ansible.builtin.package:
name: ufw
state: present
# UFW logging can full up the kernel (dmesg) and message logs
- name: Disable logging
community.general.ufw:
logging: 'off'
- name: Allow OpenSSH inbound
community.general.ufw:
rule: allow
name: OpenSSH # Uses standard profile located in /etc/ufw/applications.d
- name: Apply rate limiting to ssh inbound
community.general.ufw:
rule: limit
port: ssh
proto: tcp
- name: Enable ufw system service
ansible.builtin.service:
name: ufw
state: started
enabled: yes
# This is necessary in addition to enabling the system service
- name: Enable ufw rules
community.general.ufw:
state: enabled
policy: deny

View File

@@ -1,10 +1,3 @@
- name: Create service user
user:
name: "{{ role_name }}"
system: true
register: service_user
become: true
- name: Create install directory - name: Create install directory
file: file:
path: "{{ install_directory }}/{{ role_name }}" path: "{{ install_directory }}/{{ role_name }}"

View File

@@ -1,4 +1,3 @@
networks: networks:
traefik: traefik:
external: true external: true
@@ -6,16 +5,21 @@ networks:
services: services:
{{ role_name }}: {{ role_name }}:
container_name: "{{ role_name }}" container_name: "{{ role_name }}"
image: lscr.io/linuxserver/overseerr:latest image: fallenbagel/jellyseerr:latest
restart: unless-stopped restart: unless-stopped
networks: networks:
- traefik - traefik
environment: environment:
- "PUID={{ service_user.uid }}" - LOG_LEVEL=debug
- "PGID={{ service_user.uid }}"
- "TZ={{ timezone }}" - "TZ={{ timezone }}"
volumes: volumes:
- "{{ data_dir }}/{{ role_name }}:/config" - "{{ data_dir }}/{{ role_name }}:/app/config"
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
start_period: 20s
timeout: 3s
interval: 15s
retries: 3
labels: labels:
traefik.enable: true traefik.enable: true
traefik.http.routers.{{ role_name }}.rule: "Host(`requests.{{ personal_domain }}`)" traefik.http.routers.{{ role_name }}.rule: "Host(`requests.{{ personal_domain }}`)"

View File

@@ -14,6 +14,7 @@ module.exports = {
"http://prowlarr.local.{{ personal_domain }}/17/api?apikey={{ prowlarr_api_key }}", // FileList "http://prowlarr.local.{{ personal_domain }}/17/api?apikey={{ prowlarr_api_key }}", // FileList
"http://prowlarr.local.{{ personal_domain }}/19/api?apikey={{ prowlarr_api_key }}", // Cathode-Ray.Tube "http://prowlarr.local.{{ personal_domain }}/19/api?apikey={{ prowlarr_api_key }}", // Cathode-Ray.Tube
"http://prowlarr.local.{{ personal_domain }}/25/api?apikey={{ prowlarr_api_key }}", // seedpool "http://prowlarr.local.{{ personal_domain }}/25/api?apikey={{ prowlarr_api_key }}", // seedpool
"http://prowlarr.local.{{ personal_domain }}/27/api?apikey={{ prowlarr_api_key }}", // Upload.cx
], ],
outputDir: null, outputDir: null,

View File

@@ -77,8 +77,10 @@ tracker:
tag: CRT tag: CRT
t-ru.org: t-ru.org:
tag: rutracker tag: rutracker
seedpool: seedpool|seedpool.org:
tag: seedpool tag: seedpool
upload.cx:
tag: ULCX
archlinux: archlinux:
tag: archlinux tag: archlinux
other: other: