Removes unused code
Diff
README.md | 5 +----
main.tf | 8 --------
media/bazarr.tf | 39 ---------------------------------------
media/jellyfin.tf | 1 -
media/mylar.tf | 35 -----------------------------------
resilio/main.tf | 53 -----------------------------------------------------
resilio/variables.tf | 11 -----------
7 files changed, 1 insertion(+), 151 deletions(-)
@@ -11,6 +11,7 @@
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 <https://github.com/captn3m0/nebula>
@@ -40,7 +41,6 @@
| 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 @@
| 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 |
@@ -62,14 +62,6 @@
domain = "radicale.bb8.fun"
}
module "media" {
source = "media"
domain = "bb8.fun"
@@ -1,39 +1,0 @@
@@ -1,1 +1,0 @@
@@ -1,35 +1,0 @@
@@ -1,53 +1,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,
))}"
}
@@ -1,11 +1,0 @@
variable "traefik-labels" {
type = "map"
}
variable "ips" {
type = "map"
}
variable "domain" {}
variable "traefik-network-id" {}