2022-11-30 23:49:07 +01:00
|
|
|
#
|
|
|
|
# Essential
|
|
|
|
#
|
|
|
|
user: tudattr
|
|
|
|
timezone: Europe/Berlin
|
|
|
|
local_domain: borg.land
|
2023-04-13 18:43:32 +02:00
|
|
|
remote_domain: tudattr.dev
|
2022-12-06 16:36:21 +01:00
|
|
|
rclone_config: "/root/.config/rclone/"
|
2022-12-10 03:21:11 +01:00
|
|
|
puid: 1000
|
|
|
|
pgid: 1000
|
2022-12-06 16:36:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# aya01 - Disks
|
|
|
|
#
|
|
|
|
|
|
|
|
fstab_entries:
|
|
|
|
- name: "config"
|
|
|
|
path: "/opt/"
|
|
|
|
type: "ext4"
|
2022-12-27 21:51:41 +01:00
|
|
|
uuid: "cad60133-dd84-4a2a-8db4-2881c608addf"
|
|
|
|
- name: "media"
|
2022-12-06 16:36:21 +01:00
|
|
|
path: "/media/"
|
2022-12-27 21:51:41 +01:00
|
|
|
type: "ext4"
|
|
|
|
uuid: "c4c724ec-4fe3-4665-adf4-acd31d6b7f95"
|
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 }}"
|
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-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
|
|
|
|
#
|
|
|
|
|
|
|
|
kuma_host: "uptime"
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# prometheus/grafana
|
|
|
|
#
|
2023-04-13 18:43:32 +02:00
|
|
|
|
2022-12-29 22:45:17 +01:00
|
|
|
prm_user: "prometheus"
|
|
|
|
exporter_dir: "{{ docker_dir }}/exporter/"
|
|
|
|
|
|
|
|
prm_data: "{{docker_data_dir}}/prometheus/"
|
|
|
|
prm_config: "{{docker_dir}}/prometheus/"
|
|
|
|
prm_port: "9091"
|
|
|
|
|
|
|
|
e_node_port: "9100"
|
|
|
|
|
|
|
|
e_mikrotik_ip: "192.168.20.1"
|
|
|
|
e_mikrotik_version: "1.0.11"
|
|
|
|
e_mikrotik_config: "{{ exporter_dir }}/mikrotik/config/"
|
|
|
|
e_mikrotik_port: "9436"
|
|
|
|
|
|
|
|
grafana_data: "{{docker_data_dir}}/grafana/"
|
|
|
|
grafana_log: "{{docker_dir}}/grafana/logs/"
|
|
|
|
grafana_config: "{{docker_dir}}/grafana/config/"
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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"
|
|
|
|
swag_config: "{{ docker_dir }}/swag/config/"
|
2023-04-14 14:01:17 +02:00
|
|
|
swag_subdomains: "www,plex,status,"
|
|
|
|
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"
|
|
|
|
swag_remote_site_confs: "{{swag_config}}/nginx/site-confs/"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Plex
|
|
|
|
#
|
|
|
|
|
|
|
|
plex_host: "plex"
|
|
|
|
plex_port: "32400"
|
|
|
|
plex_config: "{{docker_data_dir}}/plex/config"
|
|
|
|
plex_tv: "/media/series"
|
|
|
|
plex_movies: "/media/movies"
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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="
|
|
|
|
wg_endpoint: "borg.land:51820"
|
|
|
|
wg_allowed_ips: "192.168.20.0/24,192.168.200.1/32"
|
|
|
|
wg_dns: "{{ aya01_ip }},{{ pi_ip }},1.1.1.1"
|