Source Code for the Home Server setup. This includes the git server hosting this repository as well. #terraform #docker
Go to file
Nemo d90a67539f Remove heimdall 2021-02-02 13:58:10 +05:30
_scripts Upgrades and stuff 2018-05-29 18:06:21 +05:30
cloudflare General Updates 2019-05-19 12:51:53 +05:30
db Removes mongodb, upgrades wiki 2021-01-08 00:23:33 +05:30
digitalocean General Updates 2019-05-19 12:51:53 +05:30
docker Remove heimdall 2021-02-02 13:58:10 +05:30
gitea got gonic working 2020-10-10 19:02:50 +05:30
kaarana WIP ingress configuration 2019-09-21 07:55:55 +05:30
media Adds requestrr 2021-01-27 13:01:44 +05:30
modules Remove custom dns support 2019-06-02 14:51:33 +05:30
monitoring Cleanup and comment unused stuff 2020-07-29 22:49:35 +05:30
opml Get opml back 2019-04-27 16:24:48 +05:30
radicale Increase memory for radicale 2019-06-28 23:52:44 +05:30
timemachine standardize quotes on resource type 2018-04-22 18:09:44 +05:30
.editorconfig Work on proxying content via sydney 2017-11-26 16:53:34 +05:30
.gitignore Removes mongodb, upgrades wiki 2021-01-08 00:23:33 +05:30
.terraform-version Fix pass provider issues 2019-04-13 03:01:36 +05:30 Remove heimdall 2021-02-02 13:58:10 +05:30 Upgrade miniflux and fix rss-bridge 2019-01-21 21:41:08 +05:30 Minor fixes in container zipmapping 2018-08-07 02:55:46 +05:30 only run webserver for elibsrv 2019-11-04 01:51:56 +05:30 Cleanup and comment unused stuff 2020-07-29 22:49:35 +05:30 General Updates 2019-08-11 21:40:29 +05:30 wordpress website 2019-09-21 04:59:39 +05:30 wordpress website 2019-09-21 04:59:39 +05:30 Adds klaxon 2021-01-27 12:58:32 +05:30 Comment out unused kubernetes stuff 2019-04-26 03:16:25 +05:30 remove abstruse 2021-02-02 13:52:51 +05:30 Removes mongodb, upgrades wiki 2021-01-08 00:23:33 +05:30 General Updates 2019-08-11 21:40:29 +05:30 Upgrade redis 2019-08-12 00:27:44 +05:30 General Updates 2019-08-11 21:40:29 +05:30 wordpress website 2019-09-21 04:59:39 +05:30 General Updates 2019-08-11 21:40:29 +05:30 Cleanup and comment unused stuff 2020-07-29 22:49:35 +05:30 Adds klaxon 2021-01-27 12:58:32 +05:30 wordpress website 2019-09-21 04:59:39 +05:30 Switch to a remote state 2019-02-10 23:14:10 +05:30 Cleanup and comment unused stuff 2020-07-29 22:49:35 +05:30 Cleanup and comment unused stuff 2020-07-29 22:49:35 +05:30 Removes mongodb, upgrades wiki 2021-01-08 00:23:33 +05:30 Adds ZNC 2018-08-23 12:02:32 +05:30


Nebula header image

Where stars are born.

Manages the local infrastructure of my home server. I'm also doing blog posts around the same:

  1. Part 1, Hardware
  2. Part 2, Terraform/Docker
  3. Part 3, Learnings
  4. Part 4, Migrating from Google (and more)
  5. Part 5, Networking
  6. Part 6, RAID

The canonical URL for this repo is A mirror is maintained on GitHub at


  1. docker: to actually run the services. Catch-all for miscellaneous containers
  2. cloudflare: to manage the DNS.
  3. mysql: to create mysql users and databases.
  4. media: Media related containers (Jackett, Lidarr, Radarr, Sonarr)
  5. Monitoring: Monitoring related resources (Cadvisor, Grafana, NodeExporter, Prometheus, Transmission-Exporter)
  6. Gitea: Just
  7. miniflux: RSS Web reader
  8. Radicale: CardDav/CalDav webserver

Self-learning project for terraform/docker.


  1. ~Setup DigitalOcean~
  2. Add DO infrastructure via ansible
  3. ~Add traefik for proper proxying~
  4. Maybe add docker swarm (or k8s?) across both the servers. Might setup the k8s API on the Raspberry Pi.

Service List

Currently running the following (all links are to the links for the docker images that I'm using:

image tag module/link
captn3m0/opml-gen latest
captn3m0/prometheus-act-exporter latest
captn3m0/rss-bridge latest
captn3m0/speedtest-exporter alpine
emby/embyserver latest
gitea/gitea 1.5.0-rc1 services
google/cadvisor latest monitoring
grafana/grafana latest monitoring
jankysolutions/requestbin latest tools
linuxserver/airsonic latest media
linuxserver/jackett latest media
linuxserver/lidarr latest media
linuxserver/lychee latest media
linuxserver/radarr latest media
linuxserver/sonarr latest media
linuxserver/transmission latest media
linuxserver/ubooquity latest media
miniflux/miniflux 2.0.9 tools
postgres 10-alpine database
prom/node-exporter v0.15.2 monitoring
prom/prometheus latest monitoring
requarks/wiki latest services
serjs/go-socks5-proxy latest tools
tocttou/gotviz latest na
tomsquest/docker-radicale latest services
traefik 1.6-alpine plumbing

Docker Notes

  • Lots of the above images are from the excellent, and they're doing great work 👍
  • Most images are running the latest beta (if available) or stable versions.
  • Traefik is running with wildcard certificates.


I've been using this as a contributing opportunity and reporting/fixing issues upstream:

  1. Airsonic HTTPS proxying is broken. Reported: Turned out to be a known issue: Now fixed.
  2. Traefik docker backend security headers were broken with dashes. I reported it here, and fixed by
  3. Headphones dies repeatedly with no error logs. Yet-to-report. (Already reported, fails due to classical artists)
  4. Terraform doesn't parse mariadb version numbers. Report: Filed a PR to fix and to bump the go-version dependency
  5. elibsrv didn't support ebook-convert, only mobigen. PR is at Merged to elibsrv trunk, will be part of next release.
  6. ubooquity docker container doesn't let you set admin password: (Couldn't reproduce, closed)
  7. Traefik customresponseheaders can't contain colons on the docker backend: Fixed with
  8. Traefik Security headers don't overwrite upstream headers:
  9. Transmission exporter broke with different data types while unmarshalling JSON in go. I filed a PR
  10. Radarr official docker container was running a very old mediainfo. Filed a fix to upgrade mediainfo on the official radarr image
  11. Patched the speedtest-exporter to use Alpine and upgraded Node.JS for a smaller updated build.
  12. Faced (4) above again because mariadb decided to add : in the version response. Workaround was to force set --version=10.3-mariadb
  13. Reported 2 critical security issues in Abstruse CI.
  14. Faced (13) above again with postgres, thankfully someone already fixed version parsing
  15. RSS Bridge was missing an official Docker Image. I Filed a PR


Their is a lot of additional infrastructure that is not-yet part of this repo. This includes:

  1. The Digital Ocean droplet running DNSCrypt and simpleproxy to proxy over a openvpn connection to this box.
  2. openbox, kodi configuration to run on boot along with the Steam Controller for the HTPC setup
  3. Docker main configuration with half-baked CA setup
  4. btrfs-backed subvolumes and snapshotting for most things in /mnt/xwing/ (in-progress)
  5. User-creation on the main server. (I'm using a common user for media applications and specific users for other applications)


All code in this repository is shared under the MIT License.