terraform fmt
This commit is contained in:
parent
6275e7773d
commit
b35c7e75ec
|
@ -1,39 +1,32 @@
|
||||||
# resource "docker_container" "airsonic" {
|
# resource "docker_container" "airsonic" {
|
||||||
# name = "airsonic"
|
# name = "airsonic"
|
||||||
# image = "${docker_image.airsonic.latest}"
|
# image = "${docker_image.airsonic.latest}"
|
||||||
|
|
||||||
# restart = "unless-stopped"
|
# restart = "unless-stopped"
|
||||||
# destroy_grace_seconds = 30
|
# destroy_grace_seconds = 30
|
||||||
# must_run = true
|
# must_run = true
|
||||||
# memory = 800
|
# memory = 800
|
||||||
|
|
||||||
# volumes {
|
# volumes {
|
||||||
# host_path = "/mnt/xwing/config/airsonic/data"
|
# host_path = "/mnt/xwing/config/airsonic/data"
|
||||||
# container_path = "/config"
|
# container_path = "/config"
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# volumes {
|
# volumes {
|
||||||
# host_path = "/mnt/xwing/media/Music"
|
# host_path = "/mnt/xwing/media/Music"
|
||||||
# container_path = "/music"
|
# container_path = "/music"
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# volumes {
|
# volumes {
|
||||||
# host_path = "/mnt/xwing/config/airsonic/playlists"
|
# host_path = "/mnt/xwing/config/airsonic/playlists"
|
||||||
# container_path = "/playlists"
|
# container_path = "/playlists"
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# volumes {
|
# volumes {
|
||||||
# host_path = "/mnt/xwing/config/airsonic/podcasts"
|
# host_path = "/mnt/xwing/config/airsonic/podcasts"
|
||||||
# container_path = "/podcasts"
|
# container_path = "/podcasts"
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# labels {
|
# labels {
|
||||||
# "traefik.enable" = "true"
|
# "traefik.enable" = "true"
|
||||||
# "traefik.port" = "4040"
|
# "traefik.port" = "4040"
|
||||||
# "traefik.frontend.rule" = "Host:airsonic.in.${var.domain},airsonic.${var.domain}"
|
# "traefik.frontend.rule" = "Host:airsonic.in.${var.domain},airsonic.${var.domain}"
|
||||||
# "traefik.frontend.passHostHeader" = "true"
|
# "traefik.frontend.passHostHeader" = "true"
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# # lounge:tatooine
|
# # lounge:tatooine
|
||||||
# env = [
|
# env = [
|
||||||
# "PUID=1004",
|
# "PUID=1004",
|
||||||
|
@ -42,3 +35,4 @@
|
||||||
# "CONTEXT_PATH=https://airsonic.bb8.fun",
|
# "CONTEXT_PATH=https://airsonic.bb8.fun",
|
||||||
# ]
|
# ]
|
||||||
# }
|
# }
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,10 @@ resource "docker_container" "lychee" {
|
||||||
}
|
}
|
||||||
|
|
||||||
labels = "${merge(
|
labels = "${merge(
|
||||||
locals.traefik_common_labels, map(
|
local.traefik_common_labels,
|
||||||
|
map(
|
||||||
"traefik.port", 80,
|
"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 = [
|
env = [
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -43,9 +43,7 @@ resource "docker_container" "wiki" {
|
||||||
"traefik.port", 9999,
|
"traefik.port", 9999,
|
||||||
"traefik.frontend.headers.customResponseHeaders", "${var.xpoweredby}||Referrer-Policy:${var.refpolicy}||X-Frame-Options:${var.xfo_allow}",
|
"traefik.frontend.headers.customResponseHeaders", "${var.xpoweredby}||Referrer-Policy:${var.refpolicy}||X-Frame-Options:${var.xfo_allow}",
|
||||||
))}"
|
))}"
|
||||||
|
|
||||||
links = ["${docker_container.mongorocks.name}"]
|
links = ["${docker_container.mongorocks.name}"]
|
||||||
|
|
||||||
env = [
|
env = [
|
||||||
"WIKI_ADMIN_EMAIL=me@captnemo.in",
|
"WIKI_ADMIN_EMAIL=me@captnemo.in",
|
||||||
"SESSION_SECRET=${var.wiki_session_secret}",
|
"SESSION_SECRET=${var.wiki_session_secret}",
|
||||||
|
|
Loading…
Reference in New Issue