Fixes Airsonic (mostly)

This commit is contained in:
Nemo 2019-02-20 00:52:09 +05:30
parent 435e166cd9
commit 995fb96611
2 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,8 @@ module "airsonic" {
name = "airsonic" name = "airsonic"
resource { resource {
memory = "1024" memory = "1024"
memory_swap = "1024"
} }
web { web {
@ -13,6 +14,8 @@ module "airsonic" {
expose = true expose = true
} }
networks = "${list(docker_network.media.id, data.docker_network.bridge.id)}"
env = [ env = [
"PUID=1004", "PUID=1004",
"PGID=1003", "PGID=1003",

View File

@ -5,8 +5,8 @@ provider "docker" {
} }
provider "kubernetes" { provider "kubernetes" {
version = "1.3.0-custom" # version = "1.3.0-custom"
host = "https://k8s.bb8.fun:6443" host = "https://k8s.bb8.fun:6443"
config_path = "${path.root}/k8s/auth/kubeconfig" config_path = "${path.root}/k8s/auth/kubeconfig"
} }