diff --git a/README.md b/README.md index 6e0de4d..65b456d 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Manages the local infrastructure of my home server. I'm also doing blog posts ar 3. [Part 3, Learnings](https://captnemo.in/blog/2017/12/18/home-server-learnings/) 4. [Part 4, Migrating from Google (and more)](https://captnemo.in/blog/2017/12/31/migrating-from-google/) 5. [Part 5, Networking](https://captnemo.in/blog/2018/04/22/home-server-networking/) +6. [Part 6, RAID](https://captnemo.in/blog/2019/02/24/btrfs-raid-device-replacement-story/) The canonical URL for this repo is https://git.captnemo.in/nemo/nebula/. A mirror is maintained on GitHub at @@ -40,7 +41,6 @@ Currently running the following (all links are to the `store.docker.com` links f | image | tag | module/link | | -------------------------------- | ---------- | ---------------------------------------------------- | -| bleenco/abstruse | latest | ci | | captn3m0/opml-gen | latest | https://opml.bb8.fun | | captn3m0/prometheus-act-exporter | latest | https://git.captnemo.in/nemo/prometheus-act-exporter | | captn3m0/rss-bridge | latest | https://github.com/RSS-Bridge/rss-bridge | @@ -56,13 +56,10 @@ Currently running the following (all links are to the `store.docker.com` links f | linuxserver/lidarr | latest | media | | linuxserver/lychee | latest | media | | linuxserver/radarr | latest | media | -| linuxserver/resilio-sync | latest | sync | | linuxserver/sonarr | latest | media | | linuxserver/transmission | latest | media | | linuxserver/ubooquity | latest | media | | miniflux/miniflux | 2.0.9 | tools | -| monicahq/monicahq | latest | services | -| odarriba/timemachine | latest | tools | | postgres | 10-alpine | database | | prom/node-exporter | v0.15.2 | monitoring | | prom/prometheus | latest | monitoring | diff --git a/main.tf b/main.tf index cc14ebd..af81dc0 100644 --- a/main.tf +++ b/main.tf @@ -62,14 +62,6 @@ module "radicale" { domain = "radicale.bb8.fun" } -# module "resilio" { -# source = "resilio" -# domain = "sync.bb8.fun" -# traefik-labels = "${var.traefik-common-labels}" -# ips = "${var.ips}" -# traefik-network-id = "${module.docker.traefik-network-id}" -# } - module "media" { source = "media" domain = "bb8.fun" diff --git a/media/bazarr.tf b/media/bazarr.tf deleted file mode 100644 index c46820d..0000000 --- a/media/bazarr.tf +++ /dev/null @@ -1,39 +0,0 @@ -# module "bazarr-container" { -# name = "bazarr" -# source = "../modules/container" -# image = "linuxserver/bazarr:latest" - -# web { -# expose = true -# port = 6767 -# host = "bazarr.${var.domain}" -# } - -# resource { -# memory = 512 -# memory_swap = 1024 -# } - -# volumes = [ -# { -# host_path = "/mnt/xwing/config/bazarr" -# container_path = "/config" -# }, -# { -# host_path = "/mnt/xwing/media/TV" -# container_path = "/tv" -# }, -# { -# host_path = "/mnt/xwing/media/Movies" -# container_path = "/movies" -# }, -# ] - -# env = [ -# "PUID=1004", -# "PGID=1003", -# "TZ=Asia/Kolkata", -# ] - -# networks = "${list(docker_network.media.id, data.docker_network.bridge.id)}" -# } diff --git a/media/jellyfin.tf b/media/jellyfin.tf deleted file mode 100644 index 792d600..0000000 --- a/media/jellyfin.tf +++ /dev/null @@ -1 +0,0 @@ -# diff --git a/media/mylar.tf b/media/mylar.tf deleted file mode 100644 index f700d65..0000000 --- a/media/mylar.tf +++ /dev/null @@ -1,35 +0,0 @@ -# module "mylar" { -# name = "mylar" -# source = "../modules/container" -# image = "linuxserver/mylar:latest" - -# web { -# expose = true -# port = 8090 -# host = "mylar.${var.domain}" -# auth = true -# } - -# volumes = [ -# { -# host_path = "/mnt/xwing/media/EBooks/Comics" -# container_path = "/comics" -# }, -# { -# host_path = "/mnt/xwing/config/mylar" -# container_path = "/config" -# }, -# { -# host_path = "/mnt/xwing/media/DL" -# container_path = "/downloads" -# }, -# ] - -# env = [ -# "PUID=1004", -# "PGID=1003", -# "TZ=Asia/Kolkata", -# ] - -# networks = "${list(docker_network.media.id, data.docker_network.bridge.id)}" -# } diff --git a/resilio/main.tf b/resilio/main.tf deleted file mode 100644 index f8b1789..0000000 --- a/resilio/main.tf +++ /dev/null @@ -1,53 +0,0 @@ -data "docker_registry_image" "resilio-sync" { - name = "linuxserver/resilio-sync:latest" -} - -resource "docker_image" "resilio-sync" { - name = "${data.docker_registry_image.resilio-sync.name}" - pull_triggers = ["${data.docker_registry_image.resilio-sync.sha256_digest}"] -} - -resource "docker_container" "resilio-sync" { - name = "resilio-sync" - image = "${docker_image.resilio-sync.latest}" - - restart = "unless-stopped" - destroy_grace_seconds = 30 - must_run = true - - ports { - internal = 8888 - external = 8888 - ip = "${var.ips["eth0"]}" - } - - ports { - internal = 55555 - external = 55555 - ip = "${var.ips["eth0"]}" - } - - volumes { - host_path = "/mnt/xwing/data/resilio-sync" - container_path = "/sync" - } - - volumes { - host_path = "/mnt/xwing/config/resilio-sync" - container_path = "/config" - } - - volumes { - host_path = "/mnt/xwing/media/DL" - container_path = "/downloads" - } - - networks = ["${var.traefik-network-id}"] - - labels = "${merge( - var.traefik-labels, - map( - "traefik.frontend.rule", "Host:${var.domain}", - "traefik.port", 8888, - ))}" -} diff --git a/resilio/variables.tf b/resilio/variables.tf deleted file mode 100644 index 55757ae..0000000 --- a/resilio/variables.tf +++ /dev/null @@ -1,11 +0,0 @@ -variable "traefik-labels" { - type = "map" -} - -variable "ips" { - type = "map" -} - -variable "domain" {} - -variable "traefik-network-id" {}