Files
NomadBackup/nomad_backup/20251115_141532/radarr.json
2025-11-21 13:07:40 -08:00

342 lines
10 KiB
JSON

{
"Affinities": null,
"AllAtOnce": false,
"Constraints": [
{
"LTarget": "${attr.kernel.name}",
"Operand": "=",
"RTarget": "linux"
},
{
"LTarget": "${attr.unique.hostname}",
"Operand": "regexp",
"RTarget": "odroid.*"
},
{
"LTarget": "${attr.cpu.arch}",
"Operand": "regexp",
"RTarget": "arm64"
}
],
"ConsulNamespace": "",
"CreateIndex": 13572027,
"Datacenters": [
"dc1"
],
"DispatchIdempotencyToken": "",
"Dispatched": false,
"ID": "radarr",
"JobModifyIndex": 13928632,
"Meta": null,
"ModifyIndex": 13928632,
"Multiregion": null,
"Name": "radarr",
"Namespace": "default",
"NodePool": "default",
"NomadTokenID": "",
"ParameterizedJob": null,
"ParentID": "",
"Payload": null,
"Periodic": null,
"Priority": 50,
"Region": "global",
"Spreads": null,
"Stable": false,
"Status": "running",
"StatusDescription": "",
"Stop": false,
"SubmitTime": 1755286992506450506,
"TaskGroups": [
{
"Affinities": null,
"Constraints": null,
"Consul": null,
"Count": 1,
"Disconnect": null,
"EphemeralDisk": {
"Migrate": false,
"SizeMB": 300,
"Sticky": false
},
"MaxClientDisconnect": null,
"Meta": null,
"Migrate": {
"HealthCheck": "checks",
"HealthyDeadline": 300000000000,
"MaxParallel": 1,
"MinHealthyTime": 10000000000
},
"Name": "radarr",
"Networks": [
{
"ReservedPorts": [
{
"HostNetwork": "default",
"Label": "http",
"To": 7878,
"Value": 7878
}
]
}
],
"PreventRescheduleOnLost": false,
"ReschedulePolicy": {
"Attempts": 0,
"Delay": 30000000000,
"DelayFunction": "exponential",
"Interval": 0,
"MaxDelay": 3600000000000,
"Unlimited": true
},
"RestartPolicy": {
"Attempts": 5,
"Delay": 10000000000,
"Interval": 60000000000,
"Mode": "delay",
"RenderTemplates": false
},
"Scaling": null,
"Services": null,
"ShutdownDelay": null,
"Spreads": null,
"StopAfterClientDisconnect": null,
"Tasks": [
{
"Actions": null,
"Affinities": null,
"Artifacts": null,
"CSIPluginConfig": null,
"Config": {
"dns_servers": [
"192.168.4.250",
"192.168.4.1"
],
"image": "linuxserver/radarr:latest",
"memory_hard_limit": "2048",
"ports": [
"http"
],
"volumes": [
"/mnt/Public/Downloads/news:/downloads",
"/mnt/Public/Downloads/movies:/movies",
"/mnt/Archive/Movies:/archive",
"/mnt/Public/configs/radarr_pg:/config"
]
},
"Constraints": [
{
"LTarget": "${attr.consul.version}",
"Operand": "semver",
"RTarget": ">= 1.8.0"
}
],
"Consul": null,
"DispatchPayload": null,
"Driver": "docker",
"Env": {
"PUID": "1000",
"TZ": "EST5EDT",
"PGID": "1000"
},
"Identities": null,
"Identity": {
"Audience": [
"nomadproject.io"
],
"ChangeMode": "",
"ChangeSignal": "",
"Env": false,
"File": false,
"Filepath": "",
"Name": "default",
"ServiceName": "",
"TTL": 0
},
"KillSignal": "",
"KillTimeout": 10000000000,
"Kind": "",
"Leader": false,
"Lifecycle": null,
"LogConfig": {
"Disabled": false,
"MaxFileSizeMB": 15,
"MaxFiles": 10
},
"Meta": null,
"Name": "radarr",
"Resources": {
"CPU": 500,
"Cores": 0,
"Devices": null,
"DiskMB": 0,
"IOPS": 0,
"MemoryMB": 256,
"MemoryMaxMB": 0,
"NUMA": null,
"Networks": null,
"SecretsMB": 0
},
"RestartPolicy": {
"Attempts": 5,
"Delay": 10000000000,
"Interval": 60000000000,
"Mode": "delay",
"RenderTemplates": false
},
"ScalingPolicies": null,
"Schedule": null,
"Services": [
{
"Address": "",
"AddressMode": "auto",
"CanaryMeta": null,
"CanaryTags": null,
"Checks": [
{
"AddressMode": "",
"Args": null,
"Body": "",
"CheckRestart": {
"Grace": 90000000000,
"IgnoreWarnings": false,
"Limit": 3
},
"Command": "/local/healthcheck.sh",
"Expose": false,
"FailuresBeforeCritical": 0,
"FailuresBeforeWarning": 0,
"GRPCService": "",
"GRPCUseTLS": false,
"Header": null,
"InitialStatus": "",
"Interval": 300000000000,
"Method": "",
"Name": "check_up",
"Notes": "",
"OnUpdate": "require_healthy",
"Path": "",
"PortLabel": "",
"Protocol": "",
"SuccessBeforePassing": 0,
"TLSServerName": "",
"TLSSkipVerify": false,
"TaskName": "radarr",
"Timeout": 25000000000,
"Type": "script"
}
],
"Cluster": "default",
"Connect": null,
"EnableTagOverride": false,
"Identity": null,
"Meta": null,
"Name": "radarr",
"Namespace": "default",
"OnUpdate": "require_healthy",
"PortLabel": "http",
"Provider": "consul",
"TaggedAddresses": null,
"Tags": [
"radarr",
"tools"
],
"TaskName": "radarr",
"Weights": null
}
],
"ShutdownDelay": 0,
"Templates": [
{
"ChangeMode": "restart",
"ChangeScript": null,
"ChangeSignal": "",
"DestPath": "local/file.yml",
"EmbeddedTmpl": "---\nkey: {{ key \"ovpn-client\" }}",
"Envvars": false,
"ErrMissingKey": false,
"Gid": null,
"LeftDelim": "{{",
"Once": false,
"Perms": "0644",
"RightDelim": "}}",
"SourcePath": "",
"Splay": 5000000000,
"Uid": null,
"VaultGrace": 0,
"Wait": null
},
{
"ChangeMode": "restart",
"ChangeScript": null,
"ChangeSignal": "",
"DestPath": "local/config.xml",
"EmbeddedTmpl": "<Config>\n<LogLevel>Info</LogLevel>\n<Port>7878</Port>\n<UrlBase/>\n<BindAddress>*</BindAddress>\n<SslPort>9898</SslPort>\n<EnableSsl>False</EnableSsl>\n<ApiKey>237c27f22504440385e5ee295fd65eb5</ApiKey>\n<AuthenticationMethod>Forms</AuthenticationMethod>\n<Branch>master</Branch>\n<SslCertPath/>\n<LaunchBrowser>True</LaunchBrowser>\n<SslCertPassword/>\n<UpdateMechanism>Docker</UpdateMechanism>\n<AnalyticsEnabled>False</AnalyticsEnabled>\n<InstanceName>Radarr</InstanceName>\n<AuthenticationRequired>DisabledForLocalAddresses</AuthenticationRequired>\n<PostgresUser>postgres</PostgresUser>\n<PostgresPassword>postgres</PostgresPassword>\n<PostgresPort>5432</PostgresPort>\n<PostgresHost>master.postgres.service.dc1.consul</PostgresHost>\n</Config>\n",
"Envvars": false,
"ErrMissingKey": false,
"Gid": null,
"LeftDelim": "{{",
"Once": false,
"Perms": "0755",
"RightDelim": "}}",
"SourcePath": "",
"Splay": 5000000000,
"Uid": null,
"VaultGrace": 0,
"Wait": null
},
{
"ChangeMode": "restart",
"ChangeScript": null,
"ChangeSignal": "",
"DestPath": "local/healthcheck.sh",
"EmbeddedTmpl": "#!/bin/bash\n/usr/bin/curl -f \"http://localhost:${NOMAD_PORT_http}/api/v3/system/status?apikey=$(grep -Eo '<ApiKey>(.*)</ApiKey>' /config/config.xml | sed -e 's/<[^>]*>//g')\"\n",
"Envvars": false,
"ErrMissingKey": false,
"Gid": null,
"LeftDelim": "{{",
"Once": false,
"Perms": "0755",
"RightDelim": "}}",
"SourcePath": "",
"Splay": 5000000000,
"Uid": null,
"VaultGrace": 0,
"Wait": null
}
],
"User": "",
"Vault": null,
"VolumeMounts": null
}
],
"Update": {
"AutoPromote": false,
"AutoRevert": false,
"Canary": 0,
"HealthCheck": "checks",
"HealthyDeadline": 300000000000,
"MaxParallel": 1,
"MinHealthyTime": 10000000000,
"ProgressDeadline": 600000000000,
"Stagger": 10000000000
},
"Volumes": null
}
],
"Type": "service",
"UI": null,
"Update": {
"AutoPromote": false,
"AutoRevert": false,
"Canary": 0,
"HealthCheck": "",
"HealthyDeadline": 0,
"MaxParallel": 1,
"MinHealthyTime": 0,
"ProgressDeadline": 0,
"Stagger": 10000000000
},
"VaultNamespace": "",
"Version": 13,
"VersionTag": null
}