Format terraform and nomad files

This commit is contained in:
2025-05-18 21:28:24 +10:00
parent 837cfdae68
commit 9cdd529633
12 changed files with 80 additions and 72 deletions

View File

@@ -9,7 +9,7 @@ job "transfer" {
service {
name = "transfer"
port = "http"
tags = [
"traefik.enable=true",
"traefik.http.routers.transfer.middlewares=auth@file",
@@ -24,26 +24,26 @@ job "transfer" {
}
volume "unraid_transfer" {
type = "csi"
read_only = false
source = "unraid_transfer"
type = "csi"
read_only = false
source = "unraid_transfer"
access_mode = "single-node-writer"
attachment_mode = "file-system"
mount_options {
mount_flags = ["uid=911","gid=1000"] # linuxserver.io container services run as uid 911
mount_flags = ["uid=911", "gid=1000"] # linuxserver.io container services run as uid 911
}
}
volume "appdata" {
type = "csi"
read_only = false
source = "unraid_appdata_transferfilebrowser"
type = "csi"
read_only = false
source = "unraid_appdata_transferfilebrowser"
access_mode = "single-node-writer"
attachment_mode = "file-system"
mount_options {
mount_flags = ["uid=911","gid=1000"] # linuxserver.io container services run as uid 911
mount_flags = ["uid=911", "gid=1000"] # linuxserver.io container services run as uid 911
}
}
@@ -63,13 +63,13 @@ job "transfer" {
volume_mount {
volume = "appdata"
destination = "/database"
destination = "/database"
read_only = false
}
volume_mount {
volume = "unraid_transfer"
destination = "/srv"
destination = "/srv"
read_only = false
}
@@ -97,4 +97,4 @@ EOF
}
}
}
}
}