diff --git a/docker/conf/traefik.toml b/docker/conf/traefik.toml index 08cc99d..0fdfe9a 100644 --- a/docker/conf/traefik.toml +++ b/docker/conf/traefik.toml @@ -1,7 +1,10 @@ defaultEntryPoints = ["http", "https"] +# Have to enable this because of heimdall InsecureSkipVerify = true +sendAnonymousUsage = true + [entryPoints] [entryPoints.http] address = ":80" diff --git a/docker/debug.tf b/docker/debug.tf index 3ecf366..ef64e10 100644 --- a/docker/debug.tf +++ b/docker/debug.tf @@ -1,13 +1,10 @@ # resource "docker_container" "headerdebug" { # name = "headerdebug" # image = "${docker_image.headerdebug.latest}" - # restart = "unless-stopped" # destroy_grace_seconds = 30 # must_run = true - # memory = 16 - # labels = "${merge( # local.traefik_common_labels, # map( @@ -16,3 +13,4 @@ # "traefik.enable", "true", # ))}" # } + diff --git a/media/airsonic.tf b/media/airsonic.tf index fb4c96c..bd05f13 100644 --- a/media/airsonic.tf +++ b/media/airsonic.tf @@ -13,47 +13,39 @@ resource "docker_container" "airsonic" { content = "${data.template_file.airsonic-properties-file.rendered}" file = "/usr/lib/jvm/java-1.8-openjdk/jre/lib/airsonic.properties" } - # This lets the Jukebox use ALSA upload { content = "${file("${path.module}/conf/airsonic.sound.properties")}" file = "/usr/lib/jvm/java-1.8-openjdk/jre/lib/sound.properties" } - 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/config/airsonic/playlists" container_path = "/playlists" } - 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" } - # lounge:tatooine env = [ "PUID=1004", "PGID=1003", "TZ=Asia/Kolkata", ] - links = ["${var.links-mariadb}"] }