Compare commits
8 Commits
b3129bcb53
...
btc
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9ef90db07b | ||
![]() |
458506e798 | ||
![]() |
874c759f85 | ||
![]() |
237b07e76c | ||
![]() |
3d5a5afe8d | ||
![]() |
53007a1c1b | ||
![]() |
d9db074e62 | ||
![]() |
84549cb8d1 |
@@ -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
|
|
||||||
|
11
ansible/roles/btc/tasks/bitcoin.yml
Normal file
11
ansible/roles/btc/tasks/bitcoin.yml
Normal 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
|
6
ansible/roles/btc/tasks/tor.yml
Normal file
6
ansible/roles/btc/tasks/tor.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
- name: Install tor
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: tor
|
||||||
|
state: present
|
||||||
|
|
||||||
|
|
32
ansible/roles/btc/tasks/ufw.yml
Normal file
32
ansible/roles/btc/tasks/ufw.yml
Normal 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
|
@@ -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 }}"
|
@@ -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 }}`)"
|
@@ -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,
|
||||||
|
@@ -77,6 +77,14 @@ tracker:
|
|||||||
tag: CRT
|
tag: CRT
|
||||||
t-ru.org:
|
t-ru.org:
|
||||||
tag: rutracker
|
tag: rutracker
|
||||||
|
seedpool|seedpool.org:
|
||||||
|
tag: seedpool
|
||||||
|
upload.cx:
|
||||||
|
tag: ULCX
|
||||||
|
archlinux:
|
||||||
|
tag: archlinux
|
||||||
|
other:
|
||||||
|
tag: other
|
||||||
|
|
||||||
nohardlinks:
|
nohardlinks:
|
||||||
- movies
|
- movies
|
||||||
@@ -94,6 +102,13 @@ share_limits:
|
|||||||
max_seeding_time: 28800 # 20 days
|
max_seeding_time: 28800 # 20 days
|
||||||
cleanup: true
|
cleanup: true
|
||||||
add_group_to_tag: false
|
add_group_to_tag: false
|
||||||
|
isos:
|
||||||
|
priority: 8
|
||||||
|
include_any_tags:
|
||||||
|
- archlinux
|
||||||
|
max_seeding_time: 129600 # 90 days
|
||||||
|
cleanup: true
|
||||||
|
add_group_to_tag: false
|
||||||
tl_cross-seed:
|
tl_cross-seed:
|
||||||
priority: 9
|
priority: 9
|
||||||
include_all_tags:
|
include_all_tags:
|
||||||
|
@@ -35,3 +35,4 @@ quality_profiles:
|
|||||||
qualities:
|
qualities:
|
||||||
- WEBDL-480p
|
- WEBDL-480p
|
||||||
- WEBRip-480p
|
- WEBRip-480p
|
||||||
|
- name: SDTV
|
||||||
|
@@ -35,3 +35,4 @@ quality_profiles:
|
|||||||
qualities:
|
qualities:
|
||||||
- WEBDL-480p
|
- WEBDL-480p
|
||||||
- WEBRip-480p
|
- WEBRip-480p
|
||||||
|
- name: SDTV
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
- name: restart recyclarr
|
- name: restart recyclarr
|
||||||
community.docker.docker_compose_v2:
|
community.docker.docker_compose_v2:
|
||||||
project_src: "{{ install_directory }}/{{ role_name }}"
|
project_src: "{{ install_directory }}/{{ role_name }}"
|
||||||
restarted: true
|
state: restarted
|
||||||
|
Reference in New Issue
Block a user