terraform fmt
This commit is contained in:
parent
6275e7773d
commit
b35c7e75ec
|
@ -1,39 +1,32 @@
|
|||
# resource "docker_container" "airsonic" {
|
||||
# name = "airsonic"
|
||||
# image = "${docker_image.airsonic.latest}"
|
||||
|
||||
# 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/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",
|
||||
|
@ -42,3 +35,4 @@
|
|||
# "CONTEXT_PATH=https://airsonic.bb8.fun",
|
||||
# ]
|
||||
# }
|
||||
|
||||
|
|
|
@ -22,9 +22,10 @@ resource "docker_container" "lychee" {
|
|||
}
|
||||
|
||||
labels = "${merge(
|
||||
locals.traefik_common_labels, map(
|
||||
local.traefik_common_labels,
|
||||
map(
|
||||
"traefik.port", 80,
|
||||
"traefik.frontend.rule","Host:pics.${var.domain},pics.in.${var.domain}"
|
||||
"traefik.frontend.rule", "Host:pics.${var.domain},pics.in.${var.domain}",
|
||||
))}"
|
||||
|
||||
env = [
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -43,9 +43,7 @@ resource "docker_container" "wiki" {
|
|||
"traefik.port", 9999,
|
||||
"traefik.frontend.headers.customResponseHeaders", "${var.xpoweredby}||Referrer-Policy:${var.refpolicy}||X-Frame-Options:${var.xfo_allow}",
|
||||
))}"
|
||||
|
||||
links = ["${docker_container.mongorocks.name}"]
|
||||
|
||||
env = [
|
||||
"WIKI_ADMIN_EMAIL=me@captnemo.in",
|
||||
"SESSION_SECRET=${var.wiki_session_secret}",
|
||||
|
|
Loading…
Reference in New Issue