Removes unused code
This commit is contained in:
parent
20cd656e04
commit
c3584a8f56
|
@ -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 <https://github.com/captn3m0/nebula>
|
||||
|
||||
|
@ -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 |
|
||||
|
|
8
main.tf
8
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"
|
||||
|
|
|
@ -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)}"
|
||||
# }
|
|
@ -1 +0,0 @@
|
|||
#
|
|
@ -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)}"
|
||||
# }
|
|
@ -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,
|
||||
))}"
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
variable "traefik-labels" {
|
||||
type = "map"
|
||||
}
|
||||
|
||||
variable "ips" {
|
||||
type = "map"
|
||||
}
|
||||
|
||||
variable "domain" {}
|
||||
|
||||
variable "traefik-network-id" {}
|
Loading…
Reference in New Issue