diff --git a/docker/gitea.tf b/docker/gitea.tf index 5eacf57..21779e4 100644 --- a/docker/gitea.tf +++ b/docker/gitea.tf @@ -40,35 +40,29 @@ resource docker_container "gitea" { content = "${file("${path.module}/conf/gitea/public/img/gitea-lg.png")}" file = "/data/gitea/public/img/gitea-lg.png" } - upload { content = "${file("${path.module}/conf/gitea/public/img/gitea-sm.png")}" file = "/data/gitea/public/img/gitea-sm.png" } - upload { content = "${file("${path.module}/conf/gitea/public/img/gitea-sm.png")}" file = "/data/gitea/public/img/favicon.png" } - upload { content = "${file("${path.module}/conf/humans.txt")}" file = "/data/gitea/public/humans.txt" } - # Extra Links in header # TODO: Doesn't work upload { content = "${file("${path.module}/conf/gitea/extra_links.tmpl")}" file = "/data/gitea/templates/custom/extra_links.tmpl" } - # This is the main configuration file upload { content = "${data.template_file.gitea-config-file.rendered}" file = "/data/gitea/conf/app.ini" } - memory = 256 restart = "unless-stopped" destroy_grace_seconds = 10 diff --git a/docker/main.tf b/docker/main.tf index 7c7e2ab..892d86f 100644 --- a/docker/main.tf +++ b/docker/main.tf @@ -127,50 +127,50 @@ resource "docker_container" "couchpotato" { links = ["transmission"] } -resource "docker_container" "airsonic" { - name = "airsonic" - image = "${docker_image.airsonic.latest}" +# resource "docker_container" "airsonic" { +# name = "airsonic" +# image = "${docker_image.airsonic.latest}" - restart = "unless-stopped" - destroy_grace_seconds = 30 - must_run = true - memory = 800 +# restart = "unless-stopped" +# destroy_grace_seconds = 30 +# must_run = true +# memory = 800 - volumes { - host_path = "/mnt/xwing/config/airsonic/data" - container_path = "/config" - } +# volumes { +# host_path = "/mnt/xwing/config/airsonic/data" +# container_path = "/config" +# } - volumes { - host_path = "/mnt/xwing/media/Music" - container_path = "/music" - } +# volumes { +# host_path = "/mnt/xwing/media/Music" +# container_path = "/music" +# } - volumes { - host_path = "/mnt/xwing/config/airsonic/playlists" - container_path = "/playlists" - } +# volumes { +# host_path = "/mnt/xwing/config/airsonic/playlists" +# container_path = "/playlists" +# } - volumes { - host_path = "/mnt/xwing/config/airsonic/podcasts" - container_path = "/podcasts" - } +# volumes { +# host_path = "/mnt/xwing/config/airsonic/podcasts" +# container_path = "/podcasts" +# } - labels { - "traefik.enable" = "true" - "traefik.port" = "4040" - "traefik.frontend.rule" = "Host:airsonic.in.${var.domain},airsonic.${var.domain}" - "traefik.frontend.passHostHeader" = "true" - } +# labels { +# "traefik.enable" = "true" +# "traefik.port" = "4040" +# "traefik.frontend.rule" = "Host:airsonic.in.${var.domain},airsonic.${var.domain}" +# "traefik.frontend.passHostHeader" = "true" +# } - # lounge:tatooine - env = [ - "PUID=1004", - "PGID=1003", - "TZ=Asia/Kolkata", - "CONTEXT_PATH=https://airsonic.bb8.fun", - ] -} +# # lounge:tatooine +# env = [ +# "PUID=1004", +# "PGID=1003", +# "TZ=Asia/Kolkata", +# "CONTEXT_PATH=https://airsonic.bb8.fun", +# ] +# } resource "docker_container" "headerdebug" { name = "headerdebug" @@ -229,6 +229,10 @@ resource "docker_container" "sickrage" { "PGID=1003", "TZ=Asia/Kolkata", ] + + links = [ + "transmission", + ] } resource "docker_container" "headphones" {