Adds audioserve

This commit is contained in:
Nemo 2019-04-02 02:55:26 +05:30
parent 0ce0753d5f
commit c2e029fb4f
1 changed files with 26 additions and 0 deletions

26
audioserve.tf Normal file
View File

@ -0,0 +1,26 @@
module "audioserve" {
name = "audioserve"
source = "modules/container"
web {
expose = true
port = "3000"
host = "audioserve.${var.root-domain}"
auth = "true"
}
restart = "always"
image = "izderadicka/audioserve"
volumes = [
{
host_path = "/mnt/xwing/media/Music/Audiobooks"
container_path = "/audiobooks"
},
]
networks_advanced = [{
name = "traefik"
}]
}