2022-11-30 23:49:07 +01:00
|
|
|
#
|
|
|
|
# Essential
|
|
|
|
#
|
|
|
|
user: tudattr
|
|
|
|
timezone: Europe/Berlin
|
2022-12-06 16:36:21 +01:00
|
|
|
rclone_config: "/root/.config/rclone/"
|
2023-05-11 15:09:52 +02:00
|
|
|
puid: "1000"
|
|
|
|
pgid: "1000"
|
2023-05-01 08:17:26 +02:00
|
|
|
pk_path: "/media/veracrypt1/genesis"
|
2022-12-06 16:36:21 +01:00
|
|
|
|
2023-04-27 01:05:24 +02:00
|
|
|
local_domain: borg.land
|
|
|
|
local_subdomains: "@"
|
|
|
|
remote_domain: tudattr.dev
|
2023-05-01 08:17:26 +02:00
|
|
|
remote_subdomains: "www,plex,status,tautulli"
|
2023-04-27 01:05:24 +02:00
|
|
|
backup_domain: seyshiro.de
|
|
|
|
backup_subdomains: "hass,qbit,zm,"
|
2022-12-06 16:36:21 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# aya01 - Disks
|
|
|
|
#
|
|
|
|
|
|
|
|
fstab_entries:
|
|
|
|
- name: "config"
|
2023-04-24 18:37:58 +02:00
|
|
|
path: "/opt"
|
2022-12-06 16:36:21 +01:00
|
|
|
type: "ext4"
|
2022-12-27 21:51:41 +01:00
|
|
|
uuid: "cad60133-dd84-4a2a-8db4-2881c608addf"
|
2023-04-24 18:37:58 +02:00
|
|
|
- name: "media0"
|
|
|
|
path: "/mnt/media0"
|
2022-12-27 21:51:41 +01:00
|
|
|
type: "ext4"
|
|
|
|
uuid: "c4c724ec-4fe3-4665-adf4-acd31d6b7f95"
|
2023-04-24 18:37:58 +02:00
|
|
|
- name: "media1"
|
|
|
|
path: "/mnt/media1"
|
|
|
|
type: "ext4"
|
|
|
|
uuid: "8d66d395-1e35-4f5a-a5a7-d181d6642ebf"
|
|
|
|
|
|
|
|
mergerfs_entries:
|
|
|
|
- name: "media"
|
|
|
|
path: "/media"
|
|
|
|
branches:
|
|
|
|
- "/mnt/media0"
|
|
|
|
- "/mnt/media1"
|
|
|
|
opts:
|
|
|
|
- "use_ino"
|
|
|
|
- "allow_other"
|
|
|
|
- "cache.files=partial"
|
|
|
|
- "dropcacheonclose=true"
|
|
|
|
- "category.create=mfs"
|
|
|
|
type: "fuse.mergerfs"
|
2022-11-30 23:49:07 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Packages
|
|
|
|
#
|
|
|
|
common_packages:
|
|
|
|
- sudo
|
|
|
|
- git
|
|
|
|
- iperf3
|
|
|
|
- git
|
|
|
|
- smartmontools
|
2022-12-27 21:51:41 +01:00
|
|
|
- vim
|
2022-12-05 16:47:35 +01:00
|
|
|
- curl
|
2022-12-06 09:13:08 +01:00
|
|
|
- tree
|
2022-12-06 16:36:21 +01:00
|
|
|
- rsync
|
2022-12-21 22:28:46 +01:00
|
|
|
- systemd-timesyncd
|
2023-04-13 18:43:32 +02:00
|
|
|
- neofetch
|
|
|
|
- build-essential
|
2022-11-30 23:49:07 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Docker
|
|
|
|
#
|
|
|
|
docker_repo_url: https://download.docker.com/linux
|
|
|
|
docker_apt_gpg_key: "{{ docker_repo_url }}/{{ ansible_distribution | lower }}/gpg"
|
|
|
|
docker_apt_release_channel: stable
|
|
|
|
docker_apt_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
|
|
|
|
docker_apt_repository: "deb [arch={{ docker_apt_arch }}] {{ docker_repo_url }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} {{ docker_apt_release_channel }}"
|
2023-04-17 21:43:51 +02:00
|
|
|
docker_network: "172.16.69.0/24"
|
2022-12-05 16:47:35 +01:00
|
|
|
|
2022-11-30 23:49:07 +01:00
|
|
|
docker_compose_dir: /opt/docker/compose
|
|
|
|
docker_dir: /opt/docker/config
|
2022-12-06 16:36:21 +01:00
|
|
|
docker_data_dir: /media/docker/data # only available on aya01
|
2022-12-05 16:47:35 +01:00
|
|
|
|
|
|
|
mysql_user: user
|
2022-12-06 16:36:21 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# aya01
|
|
|
|
#
|
|
|
|
|
2022-12-29 22:45:17 +01:00
|
|
|
aya01_host: "aya01"
|
|
|
|
aya01_ip: "192.168.20.12"
|
|
|
|
|
2023-04-13 18:43:32 +02:00
|
|
|
#
|
|
|
|
# ZoneMinder
|
|
|
|
#
|
|
|
|
|
|
|
|
zoneminder_host: "zm"
|
|
|
|
zoneminder_port: "8081"
|
2023-04-17 21:43:51 +02:00
|
|
|
zoneminder_network: "172.16.42.0/24"
|
2023-04-13 18:43:32 +02:00
|
|
|
|
2023-04-14 14:01:17 +02:00
|
|
|
zoneminder_root: "{{ docker_dir }}/zm"
|
|
|
|
zoneminder_config: "{{ zoneminder_root }}/config"
|
|
|
|
zoneminder_log: "{{ zoneminder_root}}/log"
|
|
|
|
zoneminder_db: "{{ zoneminder_root}}/db"
|
2023-04-13 18:43:32 +02:00
|
|
|
|
2023-04-14 14:01:17 +02:00
|
|
|
zoneminder_data: "{{ docker_data_dir }}/zm/data"
|
2022-12-10 03:21:11 +01:00
|
|
|
|
2023-04-13 18:43:32 +02:00
|
|
|
#
|
|
|
|
# Syncthing
|
|
|
|
#
|
|
|
|
|
|
|
|
syncthing_host: "syncthing"
|
|
|
|
syncthing_port: "8384"
|
2022-12-10 03:21:11 +01:00
|
|
|
syncthing_data: "{{docker_data_dir}}/syncthing/"
|
|
|
|
|
2023-04-13 18:43:32 +02:00
|
|
|
#
|
|
|
|
# Softserve
|
|
|
|
#
|
|
|
|
|
2022-12-21 22:28:46 +01:00
|
|
|
softserve_data: "{{docker_dir}}/softserve/data"
|
|
|
|
|
2023-04-13 18:43:32 +02:00
|
|
|
#
|
|
|
|
# cupsd
|
|
|
|
#
|
|
|
|
|
|
|
|
cupsd_host: "cupsd"
|
|
|
|
cupsd_port: "631"
|
|
|
|
cupsd_config: "{{ docker_dir }}/cupsd/"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Uptime Kuma
|
|
|
|
#
|
|
|
|
|
2023-04-17 19:23:48 +02:00
|
|
|
kuma_host: "status"
|
2023-04-13 18:43:32 +02:00
|
|
|
kuma_port: "3001"
|
|
|
|
kuma_config: "{{ docker_dir }}/kuma/"
|
2022-12-29 22:45:17 +01:00
|
|
|
|
2022-12-06 16:36:21 +01:00
|
|
|
#
|
|
|
|
# pi
|
|
|
|
#
|
|
|
|
|
2023-04-13 18:43:32 +02:00
|
|
|
pi_host: "pi"
|
|
|
|
pi_ip: "192.168.20.11"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Traefik
|
|
|
|
#
|
|
|
|
|
|
|
|
traefik_host: "traefik"
|
|
|
|
traefik_user_port: "80"
|
|
|
|
traefik_admin_port: "8080"
|
|
|
|
|
|
|
|
traefik_config: "{{ docker_dir }}/traefik/etc-traefik/"
|
|
|
|
traefik_data: "{{ docker_dir }}/traefik/var-log/"
|
|
|
|
|
|
|
|
#
|
|
|
|
# DynDns Updater
|
|
|
|
#
|
|
|
|
|
|
|
|
ddns_host: "ddns"
|
|
|
|
ddns_port: "8000"
|
|
|
|
ddns_data: "{{ docker_dir }}/ddns-updater/data/"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Home Assistant
|
|
|
|
#
|
|
|
|
|
|
|
|
ha_host: "hass"
|
|
|
|
ha_port: "8123"
|
2022-12-06 23:29:57 +01:00
|
|
|
ha_config: "{{ docker_dir }}/home-assistant/config/"
|
|
|
|
|
2023-04-13 18:43:32 +02:00
|
|
|
#
|
|
|
|
# pihole
|
|
|
|
#
|
|
|
|
|
|
|
|
pihole_host: "pihole"
|
|
|
|
pihole_port: "8089"
|
|
|
|
pihole_config: "{{ docker_dir }}/pihole/etc-pihole/"
|
2022-12-06 23:33:32 +01:00
|
|
|
pihole_dnsmasq: "{{ docker_dir }}/pihole/etc-dnsmasq.d/"
|
2022-12-10 03:21:11 +01:00
|
|
|
|
2022-12-06 16:36:21 +01:00
|
|
|
#
|
|
|
|
# backblaze
|
|
|
|
#
|
2022-12-29 22:45:17 +01:00
|
|
|
|
|
|
|
# Directories that will be backupped to backblaze
|
2022-12-06 16:36:21 +01:00
|
|
|
backblaze_paths:
|
|
|
|
aya01:
|
|
|
|
- "{{ docker_compose_dir }}"
|
|
|
|
- "{{ docker_dir }}"
|
|
|
|
pi:
|
|
|
|
- "{{ docker_compose_dir }}"
|
|
|
|
- "{{ docker_dir }}"
|
2022-12-27 21:51:41 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# samba
|
|
|
|
#
|
|
|
|
smb_deps:
|
|
|
|
- "samba"
|
|
|
|
- "smbclient"
|
|
|
|
- "cifs-utils"
|
|
|
|
|
|
|
|
smb_config: "templates/smb.conf"
|
|
|
|
smb_media_dir: "/media"
|
|
|
|
smb_group: "smbshare"
|
|
|
|
smb_user: "smbuser"
|
2022-12-29 22:45:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# netdata
|
|
|
|
#
|
|
|
|
|
|
|
|
netdata_port: "19999"
|
|
|
|
netdata_config: "{{ docker_dir }}/netdata/"
|
|
|
|
netdata_lib: "{{ docker_data_dir }}/netdata/lib/"
|
|
|
|
netdata_cache: "{{ docker_data_dir }}/netdata/cache"
|
2023-04-13 18:43:32 +02:00
|
|
|
|
|
|
|
#
|
2023-04-14 14:01:17 +02:00
|
|
|
# swag
|
2023-04-13 18:43:32 +02:00
|
|
|
#
|
2023-04-14 14:01:17 +02:00
|
|
|
|
2023-04-13 18:43:32 +02:00
|
|
|
swag_port: "443"
|
2023-04-17 19:23:48 +02:00
|
|
|
swag_host: "swag"
|
|
|
|
swag_config: "{{ docker_dir }}/{{ swag_host }}/config/"
|
|
|
|
swag_subdomains: "{{ remote_subdomains }}"
|
2023-04-14 14:01:17 +02:00
|
|
|
swag_email: "me+swag@tudattr.dev"
|
|
|
|
swag_site_confs:
|
|
|
|
- "templates/mii/swag/site-confs/plex.subdomain.conf"
|
|
|
|
- "templates/mii/swag/site-confs/uptime-kuma.subdomain.conf"
|
2023-05-01 08:17:26 +02:00
|
|
|
- "templates/mii/swag/site-confs/tautulli.subdomain.conf"
|
2023-05-11 15:09:52 +02:00
|
|
|
# - "templates/mii/swag/site-confs/code-server.subdomain.conf"
|
2023-04-27 01:05:24 +02:00
|
|
|
# - "templates/mii/swag/site-confs/homeassistant.subdomain.conf"
|
|
|
|
# - "templates/mii/swag/site-confs/qbittorrent.subdomain.conf"
|
|
|
|
# - "templates/mii/swag/site-confs/zoneminder.subdomain.conf"
|
2023-04-14 14:01:17 +02:00
|
|
|
swag_remote_site_confs: "{{swag_config}}/nginx/site-confs/"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Plex
|
|
|
|
#
|
|
|
|
|
|
|
|
plex_host: "plex"
|
2023-04-17 21:43:51 +02:00
|
|
|
# plex_ip: "172.16.69.12"
|
2023-04-14 14:01:17 +02:00
|
|
|
plex_port: "32400"
|
2023-04-17 19:23:48 +02:00
|
|
|
plex_config: "{{docker_data_dir}}/{{ plex_host }}/config"
|
2023-04-14 14:01:17 +02:00
|
|
|
plex_tv: "/media/series"
|
|
|
|
plex_movies: "/media/movies"
|
2023-04-14 19:02:45 +02:00
|
|
|
plex_music: "/media/songs"
|
2023-04-14 14:01:17 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# WireGuard
|
|
|
|
#
|
|
|
|
|
|
|
|
wg_config: "templates/wg0.conf"
|
|
|
|
wg_remote_config: "/etc/wireguard/wg0.conf"
|
|
|
|
wg_service: "wg-quick@wg0.service"
|
|
|
|
wg_deps: "wireguard"
|
|
|
|
|
|
|
|
wg_ip: "192.168.200.2"
|
|
|
|
wg_pubkey: "+LaPESyBF6Sb1lqkk4UcestFpXNaKYyyX99tkqwLQhU="
|
2023-04-14 19:02:45 +02:00
|
|
|
wg_endpoint: "{{ local_domain }}:51820"
|
2023-04-14 14:01:17 +02:00
|
|
|
wg_allowed_ips: "192.168.20.0/24,192.168.200.1/32"
|
|
|
|
wg_dns: "{{ aya01_ip }},{{ pi_ip }},1.1.1.1"
|
2023-04-14 19:02:45 +02:00
|
|
|
|
|
|
|
arr_downloads: "{{ docker_data_dir }}/arr_downloads"
|
|
|
|
#
|
|
|
|
# Sonarr
|
|
|
|
#
|
|
|
|
|
|
|
|
sonarr_port: "8989"
|
|
|
|
sonarr_host: "sonarr"
|
2023-04-17 19:23:48 +02:00
|
|
|
sonarr_config: "{{ docker_dir }}/{{ sonarr_host }}/config"
|
2023-04-14 19:02:45 +02:00
|
|
|
sonarr_media: "{{ plex_tv }}"
|
2023-04-17 19:23:48 +02:00
|
|
|
sonarr_downloads: "{{ arr_downloads }}/{{ sonarr_host }}"
|
2023-04-14 19:02:45 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Radarr
|
|
|
|
#
|
|
|
|
|
|
|
|
radarr_port: "7878"
|
|
|
|
radarr_host: "radarr"
|
2023-04-17 19:23:48 +02:00
|
|
|
radarr_config: "{{ docker_dir }}/{{ radarr_host }}/config"
|
2023-04-14 19:02:45 +02:00
|
|
|
radarr_media: "{{ plex_movies }}"
|
2023-04-17 19:23:48 +02:00
|
|
|
radarr_downloads: "{{ arr_downloads }}/{{ radarr_host }}"
|
2023-04-14 19:02:45 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Lidarr
|
|
|
|
#
|
|
|
|
|
|
|
|
lidarr_port: "8686"
|
|
|
|
lidarr_host: "lidarr"
|
2023-04-17 19:23:48 +02:00
|
|
|
lidarr_config: "{{ docker_dir }}/{{ lidarr_host }}/config"
|
2023-04-14 19:02:45 +02:00
|
|
|
lidarr_media: "{{ plex_music }}"
|
2023-04-17 19:23:48 +02:00
|
|
|
lidarr_downloads: "{{ arr_downloads }}/{{ lidarr_host }}"
|
2023-04-14 19:02:45 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Prowlarr
|
|
|
|
#
|
|
|
|
|
|
|
|
prowlarr_port: "9696"
|
|
|
|
prowlarr_host: "prowlarr"
|
2023-04-17 19:23:48 +02:00
|
|
|
prowlarr_config: "{{ docker_dir }}/{{ prowlarr_host }}/config"
|
|
|
|
|
|
|
|
#
|
|
|
|
# bin
|
|
|
|
#
|
|
|
|
|
|
|
|
bin_port: "6162"
|
|
|
|
bin_host: "bin"
|
|
|
|
bin_upload: "{{ docker_data_dir }}/{{bin_host}}/upload"
|
2023-04-17 21:43:51 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# qbittorrentvpn
|
|
|
|
#
|
|
|
|
|
|
|
|
qbit_port: "8082"
|
|
|
|
qbit_host: "qbit"
|
|
|
|
qbit_config: "templates/aya01/qbittorrentvpn/config"
|
|
|
|
|
|
|
|
qbit_remote_config: "{{ docker_dir }}/{{ qbit_host }}/config"
|
|
|
|
qbit_downloads: "{{ arr_downloads }}"
|
|
|
|
qbit_type: "openvpn"
|
|
|
|
qbit_ssl: "no"
|
|
|
|
qbit_lan: "192.168.20.0/24, 192.168.30.0/24, {{ docker_network }}"
|
|
|
|
qbit_dns: "{{ aya01_ip }}, {{ pi_ip }}, 1.1.1.1"
|
2023-04-27 01:05:24 +02:00
|
|
|
|
2023-05-01 08:17:26 +02:00
|
|
|
#
|
|
|
|
# qbittorrentvpn - torrentleech
|
|
|
|
#
|
|
|
|
|
2023-05-11 15:09:52 +02:00
|
|
|
torrentleech_port: "8083"
|
|
|
|
torrentleech_host: "torrentleech"
|
|
|
|
torrentleech_remote_config: "{{ docker_dir }}/{{ torrentleech_host }}/config"
|
2023-05-01 08:17:26 +02:00
|
|
|
|
2023-04-27 01:05:24 +02:00
|
|
|
#
|
|
|
|
# Home Assistant
|
|
|
|
#
|
|
|
|
|
|
|
|
hass_port: ""
|
|
|
|
hass_host: "hass"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Tautulli
|
|
|
|
#
|
|
|
|
|
|
|
|
tautulli_port: "8181"
|
|
|
|
tautulli_host: "tautulli"
|
|
|
|
tautulli_config: "{{ docker_dir }}/{{ tautulli_host }}/config"
|
2023-05-11 15:09:52 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Code Server
|
|
|
|
#
|
|
|
|
|
|
|
|
code_port: "8443"
|
|
|
|
code_host: "code"
|
|
|
|
code_config: "{{ docker_dir }}/{{ code_host }}/config"
|
|
|
|
|
|
|
|
#
|
|
|
|
# GlueTun
|
|
|
|
#
|
|
|
|
|
|
|
|
gluetun_port: ""
|
|
|
|
gluetun_host: "gluetun"
|
|
|
|
gluetun_country: "Hungary"
|
|
|
|
gluetun_config: "{{ docker_dir }}/{{ gluetun_host }}/config"
|
|
|
|
|
|
|
|
#
|
|
|
|
# NodeExporter
|
|
|
|
#
|
|
|
|
|
|
|
|
node_exporter_port: 9100
|
|
|
|
node_exporter_host: 'node'
|
|
|
|
node_exporter_version: 'latest'
|
|
|
|
node_exporter_serve: 'localhost'
|
|
|
|
node_exporter_options: ''
|
|
|
|
node_exporter_bin_path: /usr/local/bin/node_exporter
|
|
|
|
|
|
|
|
#
|
|
|
|
# Prometheus
|
|
|
|
#
|
|
|
|
|
2023-05-11 16:26:49 +02:00
|
|
|
prometheus_puid: "65534"
|
|
|
|
prometheus_pgid: "65534"
|
2023-05-11 15:09:52 +02:00
|
|
|
prometheus_host: "prometheus"
|
|
|
|
prometheus_data: "{{docker_data_dir}}/prometheus/"
|
|
|
|
prometheus_config: "{{docker_dir}}/prometheus/"
|
|
|
|
prometheus_port: "9090"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Grafana
|
|
|
|
#
|
|
|
|
|
|
|
|
grafana_host: "grafana"
|
|
|
|
grafana_port: "3000"
|
|
|
|
grafana_data: "{{docker_data_dir}}/grafana/"
|
|
|
|
grafana_config: "{{docker_dir}}/grafana/config/"
|
|
|
|
grafana_logs: "{{docker_dir}}/grafana/logs/"
|
|
|
|
grafana_puid: "472"
|
|
|
|
grafana_pgid: "0"
|
|
|
|
|
|
|
|
#
|
|
|
|
# SNMP Exporter
|
|
|
|
#
|
|
|
|
|
|
|
|
snmp_exporter_port: "9116"
|
|
|
|
snmp_exporter_target: "192.168.20.1"
|
|
|
|
snmp_exporter_config: "{{ docker_dir }}/snmp_exporter/"
|
|
|
|
snmp_exporter_host: "snmp_exporter"
|