Compare commits

...

19 Commits

Author SHA1 Message Date
9d4ff8432c Add icon for netbox 2021-04-22 17:57:55 -05:00
f5d2a6220b Ignore cache on builds 2021-04-20 22:05:29 -05:00
4af9256041 Rename vhosts as well 2021-04-20 22:04:29 -05:00
225f57c048 s/desu.local/local.desu.ltd/g 2021-04-20 22:01:20 -05:00
65b1fcdacc Add stub zone for desu.local 2021-03-11 11:27:57 -06:00
7b5a77db18 Oh shit that's YAML 2021-03-11 11:19:44 -06:00
f3cfa01b74 Add netbox vhost 2021-03-11 10:34:19 -06:00
ff884a60a2 Switch to using a VIP 2021-03-11 10:29:34 -06:00
9ef861d10c Add CNAME for netbox 2021-03-11 10:28:34 -06:00
4bd9b23860 Add record for the VIP and flip records over to it 2021-03-11 10:28:17 -06:00
da11f15f78 Add ProxyPass directive for JF 2021-03-04 12:24:33 -06:00
feaf8d35a3 Add vhost for Radarr
whoops
2021-03-04 11:39:45 -06:00
ccb703e160 Add record for Radarr 2021-03-04 11:34:19 -06:00
3e9b0fad8a Add link to Radarr 2021-03-04 11:33:01 -06:00
dc52953b40 Add link to Jackett 2021-03-02 03:51:29 -06:00
08c09a4318 Add CNAME for jackett 2021-03-02 03:25:40 -06:00
c743291ad1 Add Jackett vhost 2021-03-02 03:24:55 -06:00
b865b6c44a This is why we have tests 2021-03-01 20:04:41 -06:00
6c35b7fb85 Root record should be an A 2021-03-01 20:02:05 -06:00
4 changed files with 100 additions and 55 deletions

View File

@@ -1,3 +1,3 @@
#! /bin/sh
project="$(basename -- "$PWD")"
docker build --platform linux/arm,linux/arm64,linux/amd64 . -t "rehashedsalt/$project:latest" -t "rehashedsalt/$project:$(git rev-parse --short=7 HEAD)" --push
docker build --no-cache --platform linux/arm,linux/arm64,linux/amd64 . -t "rehashedsalt/$project:latest" -t "rehashedsalt/$project:$(git rev-parse --short=7 HEAD)" --push

View File

@@ -8,42 +8,57 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
<link href="/favicon.ico" rel="shortcut icon" />
<link href="/styles/buttons.css" type="text/css" rel="stylesheet" />
<title>desu.local</title>
<title>local.desu.ltd</title>
</head>
<body>
<div class="header">
<a href="/" class="logocontainer">
<span>
<h1>desu.local</h1>
<h1>local.desu.ltd</h1>
<p class="nomobile">Local services and stuffs</p>
</span>
</a>
</div>
<div class="content">
<div class="iconbuttoncontainer">
<a href="http://jellyfin.desu.local" class="iconbutton">
<a href="http://jellyfin.local.desu.ltd" class="iconbutton">
<i class="fa fa-film"></i>
<h1>Jellyfin</h1>
<p>Media server, the thing the Roku uses</p>
</a>
<a href="http://sonarr.desu.local" class="iconbutton">
<a href="http://sonarr.local.desu.ltd" class="iconbutton">
<i class="fa fa-feed"></i>
<h1>Sonarr</h1>
<p>Media library downloader and organizer</p>
</a>
<a href="http://transmission.desu.local" class="iconbutton">
<a href="http://radarr.local.desu.ltd" class="iconbutton">
<i class="fa fa-feed"></i>
<h1>Radarr</h1>
<p>Similar to Sonarr, but specializing in movies</p>
</a>
<a href="http://transmission.local.desu.ltd" class="iconbutton">
<i class="fa fa-arrow-circle-down"></i>
<h1>Transmission</h1>
<p>Torrent client</p>
<p>Simple BitTorrent client with few moving parts</p>
</a>
<a href="http://jackett.local.desu.ltd" class="iconbutton">
<i class="fa fa-arrow-circle-o-down"></i>
<h1>Jackett</h1>
<p>Torrent feed aggregator that Just Werks</p>
</a>
</div>
<div class="break"></div>
<div class="iconbuttoncontainer">
<a href="http://grafana.desu.local" class="iconbutton">
<a href="http://grafana.local.desu.ltd" class="iconbutton">
<i class="fa fa-line-chart"></i>
<h1>Grafana</h1>
<p>Monitoring and graphing solution</p>
</a>
<a href="http://netbox.local.desu.ltd" class="iconbutton">
<i class="fa fa-database"></i>
<h1>Netbox</h1>
<p>IPAM, secrets, and more</p>
</a>
</div>
</div>
<div class="footer">

View File

@@ -1,6 +1,6 @@
# vim:set ft=apache:
<VirtualHost *:80>
ServerName desu.local
ServerName local.desu.ltd
DocumentRoot /usr/local/apache2/htdocs
<Directory "/usr/local/apache2/htdocs">
AllowOverride All
@@ -9,26 +9,45 @@
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName jellyfin.desu.local
ServerName jellyfin.local.desu.ltd
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://192.168.102.10:8081/
ProxyPass /socket http://192.168.102.200:8081/
ProxyPass / http://192.168.102.200:8081/
</VirtualHost>
<VirtualHost *:80>
ServerName grafana.desu.local
ServerName grafana.local.desu.ltd
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://192.168.102.10:8082/
ProxyPass / http://192.168.102.200:8082/
</VirtualHost>
<VirtualHost *:80>
ServerName sonarr.desu.local
ServerName sonarr.local.desu.ltd
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://192.168.102.10:8083/
ProxyPass / http://192.168.102.200:8083/
</VirtualHost>
<VirtualHost *:80>
ServerName transmission.desu.local
ServerName transmission.local.desu.ltd
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://192.168.102.10:8084/
ProxyPass / http://192.168.102.200:8084/
</VirtualHost>
<VirtualHost *:80>
ServerName jackett.local.desu.ltd
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://192.168.102.200:8085/
</VirtualHost>
<VirtualHost *:80>
ServerName radarr.local.desu.ltd
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://192.168.102.200:8086/
</VirtualHost>
<VirtualHost *:80>
ServerName netbox.local.desu.ltd
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://192.168.102.200:8087/
</VirtualHost>

View File

@@ -1,41 +1,52 @@
# !vim:set ft=conf:
# !vim:set ft=yaml:
server:
interface: 0.0.0.0@5053
do-ip6: no
do-daemonize: no
access-control: 127.0.0.0/8 allow
access-control: 192.168.0.0/16 allow
access-control: 172.16.0.0/12 allow
access-control: 10.0.0.0/8 allow
auto-trust-anchor-file: /var/run/unbound/root.key
logfile: ""
prefetch: yes
verbosity: 1
statistics-interval: 600
statistics-cumulative: yes
interface: 0.0.0.0@5053
do-ip6: no
do-daemonize: no
access-control: 127.0.0.0/8 allow
access-control: 192.168.0.0/16 allow
access-control: 172.16.0.0/12 allow
access-control: 10.0.0.0/8 allow
auto-trust-anchor-file: /var/run/unbound/root.key
logfile: ""
prefetch: yes
verbosity: 1
statistics-interval: 600
statistics-cumulative: yes
local-zone: "desu.ltd." typetransparent
local-data: "switch-gs308epp-1.desu.ltd. 3600 IN A 192.168.1.2"
# IoT shit on .99
local-data: "botnet-roku-1.desu.ltd. 3600 IN A 192.168.99.1"
# Others workstations on .100
local-data: "sad.desu.ltd. 3600 IN A 192.168.100.1"
# My workstations and devices on .101
local-data: "lap-s76-lemp9-0.desu.ltd. 3600 IN A 192.168.101.1"
local-data: "dsk-ryzen-0.desu.ltd. 3600 IN A 192.168.101.2"
local-data: "ph-flame-0.desu.ltd. 3600 IN A 192.168.101.100"
# k8s on .102
local-data: "pi-kub-master-1.desu.ltd. 3600 IN A 192.168.102.1"
local-data: "pi-kub-node-1.desu.ltd. 3600 IN A 192.168.102.10"
local-data: "pi-kub-node-2.desu.ltd. 3600 IN A 192.168.102.11"
local-data: "pi-kub-node-3.desu.ltd. 3600 IN A 192.168.102.12"
# General-purpose nodes on .103
local-data: "pi-mp-1.desu.ltd. 3600 IN A 192.168.103.100"
local-data: "pi-mp-2.desu.ltd. 3600 IN A 192.168.103.101"
local-zone: "desu.ltd." typetransparent
local-data: "switch-gs308epp-1.desu.ltd. 3600 IN A 192.168.1.2"
# IoT shit on .99
local-data: "botnet-roku-1.desu.ltd. 3600 IN A 192.168.99.1"
# Others workstations on .100
local-data: "sad.desu.ltd. 3600 IN A 192.168.100.1"
# My workstations and devices on .101
local-data: "lap-s76-lemp9-0.desu.ltd. 3600 IN A 192.168.101.1"
local-data: "dsk-ryzen-0.desu.ltd. 3600 IN A 192.168.101.2"
local-data: "ph-flame-0.desu.ltd. 3600 IN A 192.168.101.100"
# k8s on .102
local-data: "pi-kub-master-1.desu.ltd. 3600 IN A 192.168.102.1"
local-data: "pi-kub-node-1.desu.ltd. 3600 IN A 192.168.102.10"
local-data: "pi-kub-node-2.desu.ltd. 3600 IN A 192.168.102.11"
local-data: "pi-kub-node-3.desu.ltd. 3600 IN A 192.168.102.12"
local-data: "pi-kub-vip-1.desu.ltd. 3600 IN A 192.168.102.200"
# General-purpose nodes on .103
local-data: "pi-mp-1.desu.ltd. 3600 IN A 192.168.103.100"
local-data: "pi-mp-2.desu.ltd. 3600 IN A 192.168.103.101"
local-zone: "desu.local." static
local-data: "desu.local. 3600 IN CNAME pi-kub-node-1.desu.ltd."
local-data: "grafana.desu.local. 3600 IN CNAME pi-kub-node-1.desu.ltd."
local-data: "jellyfin.desu.local. 3600 IN CNAME pi-kub-node-1.desu.ltd."
local-data: "sonarr.desu.local. 3600 IN CNAME pi-kub-node-1.desu.ltd."
local-data: "transmission.desu.local. 3600 IN CNAME pi-kub-node-1.desu.ltd."
domain-insecure: "desu.local"
local-zone: "desu.local." static
local-data: "desu.local. 3600 IN A 192.168.102.200"
local-data: "www.desu.local. 3600 IN CNAME desu.local."
local-data: "grafana.desu.local. 3600 IN CNAME pi-kub-vip-1.desu.ltd."
local-data: "jellyfin.desu.local. 3600 IN CNAME pi-kub-vip-1.desu.ltd."
local-data: "radarr.desu.local. 3600 IN CNAME pi-kub-vip-1.desu.ltd."
local-data: "sonarr.desu.local. 3600 IN CNAME pi-kub-vip-1.desu.ltd."
local-data: "transmission.desu.local. 3600 IN CNAME pi-kub-vip-1.desu.ltd."
local-data: "jackett.desu.local. 3600 IN CNAME pi-kub-vip-1.desu.ltd."
local-data: "netbox.desu.local. 3600 IN CNAME pi-kub-vip-1.desu.ltd."
stub-zone:
name: "desu.local."
stub-addr: "192.168.103.100"
stub-first: yes