||5 months ago|
|_scripts||3 years ago|
|cloudflare||2 years ago|
|db||9 months ago|
|digitalocean||2 years ago|
|docker||8 months ago|
|gitea||5 months ago|
|kaarana||2 years ago|
|media||7 months ago|
|modules||2 years ago|
|monitoring||1 year ago|
|opml||2 years ago|
|radicale||5 months ago|
|timemachine||3 years ago|
|.editorconfig||4 years ago|
|.gitignore||9 months ago|
|.terraform-version||2 years ago|
|README.md||8 months ago|
|data.tf||3 years ago|
|echoserver.tf||3 years ago|
|elibsrv.tf||2 years ago|
|firefox-sync.tf||1 year ago|
|jupyter.tf||2 years ago|
|kaarana.tf||2 years ago|
|kayak.tf||2 years ago|
|klaxon.tf||8 months ago|
|kube-test.tf||2 years ago|
|main.tf||7 months ago|
|miniflux.tf||7 months ago|
|nextcloud.tf||2 years ago|
|providers.tf||2 years ago|
|pulse.tf||2 years ago|
|rss-bridge.tf||1 year ago|
|secrets.tf||7 months ago|
|server.tf||2 years ago|
|state.tf||3 years ago|
|variables.tf||1 year ago|
|wiki.tf||9 months ago|
|znc.tf||3 years ago|
Where stars are born.
Manages the local infrastructure of my home server. I'm also doing blog posts around the same:
- Part 1, Hardware
- Part 2, Terraform/Docker
- Part 3, Learnings
- Part 4, Migrating from Google (and more)
- Part 5, Networking
- Part 6, RAID
- docker: to actually run the services. Catch-all for miscellaneous containers
- cloudflare: to manage the DNS.
- mysql: to create mysql users and databases.
- media: Media related containers (Jackett, Lidarr, Radarr, Sonarr)
- Monitoring: Monitoring related resources (Cadvisor, Grafana, NodeExporter, Prometheus, Transmission-Exporter)
- Gitea: Just git.captnemo.in
- miniflux: RSS Web reader
- Radicale: CardDav/CalDav webserver
Self-learning project for terraform/docker.
- ~Setup DigitalOcean~
- Add DO infrastructure via ansible
- ~Add traefik for proper proxying~
- Maybe add docker swarm (or k8s?) across both the servers. Might setup the k8s API on the Raspberry Pi.
Currently running the following (all links are to the
store.docker.com links for the docker images that I'm using:
- Lots of the above images are from the excellent LinuxServer.io, 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:
- Airsonic HTTPS proxying is broken. Reported: https://github.com/airsonic/airsonic/issues/641. Turned out to be a known issue: https://github.com/airsonic/airsonic/issues/594. Now fixed.
- Traefik docker backend security headers were broken with dashes. I reported it here, and fixed by https://github.com/containous/traefik/pull/2496 ✅
- Headphones dies repeatedly with no error logs. Yet-to-report. (Already reported, fails due to classical artists)
- Terraform doesn't parse mariadb version numbers. Report: https://github.com/terraform-providers/terraform-provider-mysql/issues/6. Filed a PR to fix and to bump the go-version dependency ✅
elibsrvdidn't support ebook-convert, only mobigen. PR is at https://github.com/captn3m0/elibsrv/pull/1. Merged to
elibsrvtrunk, will be part of next release.
ubooquitydocker container doesn't let you set admin password: https://github.com/linuxserver/docker-ubooquity/issues/17. (Couldn't reproduce, closed) ✅
- Traefik customresponseheaders can't contain colons on the docker backend: https://github.com/containous/traefik/issues/2517. Fixed with https://github.com/containous/traefik/pull/2509 ✅
- Traefik Security headers don't overwrite upstream headers: https://github.com/containous/traefik/issues/2618 ✅
- Transmission exporter broke with different data types while unmarshalling JSON in go. I filed a PR https://github.com/metalmatze/transmission-exporter/pull/2 ✅
- Radarr official docker container was running a very old
mediainfo. Filed a fix to upgrade
mediainfoon the official radarr image ✅
- Patched the speedtest-exporter to use Alpine and upgraded Node.JS for a smaller updated build.
- Faced (4) above again because mariadb decided to add
:in the version response. Workaround was to force set
- Reported 2 critical security issues in Abstruse CI. ✅
- Faced (13) above again with postgres, thankfully someone already fixed version parsing ✅
- 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:
- The Digital Ocean droplet running DNSCrypt and simpleproxy to proxy over a openvpn connection to this box.
- openbox, kodi configuration to run on boot along with the Steam Controller for the HTPC setup
- Docker main configuration with half-baked CA setup
- btrfs-backed subvolumes and snapshotting for most things in /mnt/xwing/ (in-progress)
- 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.