Browse Source

Fix mounts

Signed-off-by: Magic_RB <magic_rb@redalder.org>
master
Magic_RB 3 months ago
parent
commit
16c0fb9796
Signed by: Magic_RB GPG Key ID: 08D5287CC5DDCA0E
  1. 5
      infrastructure/ingress/ingress-letsencrypt.hcl
  2. 6
      infrastructure/ingress/nomad.hcl
  3. 3
      infrastructure/jellyfin/jellyfin-cache.hcl
  4. 3
      infrastructure/jellyfin/jellyfin-config.hcl
  5. 3
      infrastructure/jellyfin/jellyfin-media.hcl
  6. 18
      infrastructure/jellyfin/jellyfin-mount.hcl

5
infrastructure/ingress/ingress-letsencrypt.hcl

@ -9,10 +9,11 @@ capability {
}
context {
server = "10.64.0.2"
share = "/ingress-letsencrypt"
server = "10.64.1.201"
share = "/var/nfs/ingress-letsencrypt"
}
mount_options {
fs_type = "nfs"
mount_flags = [ "nolock" ]
}

6
infrastructure/ingress/nomad.hcl

@ -94,8 +94,14 @@ job "ingress" {
read_only = false
}
# artifact {
# source = "http://hydra/build/99/download/1/image.tar.gz"
# }
config {
# load = "nixng-ingress.tar.gz"
image = "nixng-ingress:local"
ports = ["http", "https"]
}

3
infrastructure/jellyfin/jellyfin-cache.hcl

@ -10,9 +10,10 @@ capability {
context {
server = "10.64.1.201"
share = "/jellyfin/cache"
share = "/var/nfs/jellyfin/cache"
}
mount_options {
fs_type = "nfs"
mount_flags = [ "nolock" ]
}

3
infrastructure/jellyfin/jellyfin-config.hcl

@ -10,9 +10,10 @@ capability {
context {
server = "10.64.1.201"
share = "/jellyfin/config"
share = "/var/nfs/jellyfin/config"
}
mount_options {
fs_type = "nfs"
mount_flags = [ "nolock" ]
}

3
infrastructure/jellyfin/jellyfin-media.hcl

@ -10,9 +10,10 @@ capability {
context {
server = "10.64.1.201"
share = "/jellyfin/media"
share = "/var/nfs/jellyfin/media"
}
mount_options {
fs_type = "nfs"
mount_flags = [ "nolock" ]
}

18
infrastructure/jellyfin/jellyfin-mount.hcl

@ -1,18 +0,0 @@
type = "csi"
id = "jellyfin-mount"
name = "jellyfin-mount"
plugin_id = "nfs"
capability {
access_mode = "single-node-writer"
attachment_mode = "file-system"
}
context {
server = "10.64.1.201"
share = "/jellyfin/mount"
}
mount_options {
fs_type = "nfs"
}
Loading…
Cancel
Save