Be a good citizen and report anon metrics to traefik
Diff
docker/debug.tf | 4 +---
media/airsonic.tf | 8 --------
docker/conf/traefik.toml | 3 +++
3 files changed, 4 insertions(+), 11 deletions(-)
@@ -1,13 +1,10 @@
@@ -16,3 +13,4 @@
@@ -13,47 +13,39 @@
content = "${data.template_file.airsonic-properties-file.rendered}"
file = "/usr/lib/jvm/java-1.8-openjdk/jre/lib/airsonic.properties"
}
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"
}
env = [
"PUID=1004",
"PGID=1003",
"TZ=Asia/Kolkata",
]
links = ["${var.links-mariadb}"]
}
@@ -1,6 +1,9 @@
defaultEntryPoints = ["http", "https"]
InsecureSkipVerify = true
sendAnonymousUsage = true
[entryPoints]
[entryPoints.http]