nebula/audioserve.tf

37 lines
560 B
Terraform
Raw Normal View History

2019-04-01 21:25:26 +00:00
module "audioserve" {
name = "audioserve"
source = "modules/container"
web {
expose = true
port = "3000"
host = "audioserve.${var.root-domain}"
auth = "true"
}
2019-09-14 12:02:17 +00:00
resource {
memory = 256
memory_swap = 256
}
command = [
"--no-authentication",
"/audiobooks",
]
2019-04-01 21:25:26 +00:00
restart = "always"
image = "izderadicka/audioserve"
volumes = [
{
host_path = "/mnt/xwing/media/Music/Audiobooks"
container_path = "/audiobooks"
},
]
networks_advanced = [{
name = "traefik"
}]
}