sickrage -> transmission link
This commit is contained in:
parent
923d33222c
commit
acd9560025
|
@ -40,35 +40,29 @@ resource docker_container "gitea" {
|
||||||
content = "${file("${path.module}/conf/gitea/public/img/gitea-lg.png")}"
|
content = "${file("${path.module}/conf/gitea/public/img/gitea-lg.png")}"
|
||||||
file = "/data/gitea/public/img/gitea-lg.png"
|
file = "/data/gitea/public/img/gitea-lg.png"
|
||||||
}
|
}
|
||||||
|
|
||||||
upload {
|
upload {
|
||||||
content = "${file("${path.module}/conf/gitea/public/img/gitea-sm.png")}"
|
content = "${file("${path.module}/conf/gitea/public/img/gitea-sm.png")}"
|
||||||
file = "/data/gitea/public/img/gitea-sm.png"
|
file = "/data/gitea/public/img/gitea-sm.png"
|
||||||
}
|
}
|
||||||
|
|
||||||
upload {
|
upload {
|
||||||
content = "${file("${path.module}/conf/gitea/public/img/gitea-sm.png")}"
|
content = "${file("${path.module}/conf/gitea/public/img/gitea-sm.png")}"
|
||||||
file = "/data/gitea/public/img/favicon.png"
|
file = "/data/gitea/public/img/favicon.png"
|
||||||
}
|
}
|
||||||
|
|
||||||
upload {
|
upload {
|
||||||
content = "${file("${path.module}/conf/humans.txt")}"
|
content = "${file("${path.module}/conf/humans.txt")}"
|
||||||
file = "/data/gitea/public/humans.txt"
|
file = "/data/gitea/public/humans.txt"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Extra Links in header
|
# Extra Links in header
|
||||||
# TODO: Doesn't work
|
# TODO: Doesn't work
|
||||||
upload {
|
upload {
|
||||||
content = "${file("${path.module}/conf/gitea/extra_links.tmpl")}"
|
content = "${file("${path.module}/conf/gitea/extra_links.tmpl")}"
|
||||||
file = "/data/gitea/templates/custom/extra_links.tmpl"
|
file = "/data/gitea/templates/custom/extra_links.tmpl"
|
||||||
}
|
}
|
||||||
|
|
||||||
# This is the main configuration file
|
# This is the main configuration file
|
||||||
upload {
|
upload {
|
||||||
content = "${data.template_file.gitea-config-file.rendered}"
|
content = "${data.template_file.gitea-config-file.rendered}"
|
||||||
file = "/data/gitea/conf/app.ini"
|
file = "/data/gitea/conf/app.ini"
|
||||||
}
|
}
|
||||||
|
|
||||||
memory = 256
|
memory = 256
|
||||||
restart = "unless-stopped"
|
restart = "unless-stopped"
|
||||||
destroy_grace_seconds = 10
|
destroy_grace_seconds = 10
|
||||||
|
|
|
@ -127,50 +127,50 @@ resource "docker_container" "couchpotato" {
|
||||||
links = ["transmission"]
|
links = ["transmission"]
|
||||||
}
|
}
|
||||||
|
|
||||||
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",
|
||||||
"PGID=1003",
|
# "PGID=1003",
|
||||||
"TZ=Asia/Kolkata",
|
# "TZ=Asia/Kolkata",
|
||||||
"CONTEXT_PATH=https://airsonic.bb8.fun",
|
# "CONTEXT_PATH=https://airsonic.bb8.fun",
|
||||||
]
|
# ]
|
||||||
}
|
# }
|
||||||
|
|
||||||
resource "docker_container" "headerdebug" {
|
resource "docker_container" "headerdebug" {
|
||||||
name = "headerdebug"
|
name = "headerdebug"
|
||||||
|
@ -229,6 +229,10 @@ resource "docker_container" "sickrage" {
|
||||||
"PGID=1003",
|
"PGID=1003",
|
||||||
"TZ=Asia/Kolkata",
|
"TZ=Asia/Kolkata",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
links = [
|
||||||
|
"transmission",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "docker_container" "headphones" {
|
resource "docker_container" "headphones" {
|
||||||
|
|
Loading…
Reference in New Issue