Be a good citizen and report anon metrics to traefik
This commit is contained in:
parent
70bb2ec9bc
commit
81206fd755
|
@ -1,7 +1,10 @@
|
|||
defaultEntryPoints = ["http", "https"]
|
||||
|
||||
# Have to enable this because of heimdall
|
||||
InsecureSkipVerify = true
|
||||
|
||||
sendAnonymousUsage = true
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":80"
|
||||
|
|
|
@ -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",
|
||||
# ))}"
|
||||
# }
|
||||
|
||||
|
|
|
@ -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}"]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue