first commit
This commit is contained in:
542
nomad_backup/20251115_141532/gonic.json
Normal file
542
nomad_backup/20251115_141532/gonic.json
Normal file
@@ -0,0 +1,542 @@
|
||||
{
|
||||
"Affinities": null,
|
||||
"AllAtOnce": false,
|
||||
"Constraints": null,
|
||||
"ConsulNamespace": "",
|
||||
"CreateIndex": 13923644,
|
||||
"Datacenters": [
|
||||
"dc1"
|
||||
],
|
||||
"DispatchIdempotencyToken": "",
|
||||
"Dispatched": false,
|
||||
"ID": "gonic",
|
||||
"JobModifyIndex": 13923644,
|
||||
"Meta": null,
|
||||
"ModifyIndex": 13991159,
|
||||
"Multiregion": null,
|
||||
"Name": "gonic",
|
||||
"Namespace": "default",
|
||||
"NodePool": "default",
|
||||
"NomadTokenID": "",
|
||||
"ParameterizedJob": null,
|
||||
"ParentID": "",
|
||||
"Payload": null,
|
||||
"Periodic": null,
|
||||
"Priority": 50,
|
||||
"Region": "global",
|
||||
"Spreads": null,
|
||||
"Stable": true,
|
||||
"Status": "running",
|
||||
"StatusDescription": "",
|
||||
"Stop": false,
|
||||
"SubmitTime": 1755124884723774513,
|
||||
"TaskGroups": [
|
||||
{
|
||||
"Affinities": null,
|
||||
"Constraints": null,
|
||||
"Consul": {
|
||||
"Cluster": "default",
|
||||
"Namespace": "",
|
||||
"Partition": ""
|
||||
},
|
||||
"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": "gonic",
|
||||
"Networks": null,
|
||||
"PreventRescheduleOnLost": false,
|
||||
"ReschedulePolicy": {
|
||||
"Attempts": 0,
|
||||
"Delay": 30000000000,
|
||||
"DelayFunction": "exponential",
|
||||
"Interval": 0,
|
||||
"MaxDelay": 3600000000000,
|
||||
"Unlimited": true
|
||||
},
|
||||
"RestartPolicy": {
|
||||
"Attempts": 2,
|
||||
"Delay": 15000000000,
|
||||
"Interval": 1800000000000,
|
||||
"Mode": "fail",
|
||||
"RenderTemplates": false
|
||||
},
|
||||
"Scaling": null,
|
||||
"Services": null,
|
||||
"ShutdownDelay": null,
|
||||
"Spreads": null,
|
||||
"StopAfterClientDisconnect": null,
|
||||
"Tasks": [
|
||||
{
|
||||
"Actions": null,
|
||||
"Affinities": null,
|
||||
"Artifacts": null,
|
||||
"CSIPluginConfig": null,
|
||||
"Config": {
|
||||
"volumes": [
|
||||
"/mnt/configs/gonic/data:/data",
|
||||
"/mnt/configs/gonic/cache:/cache",
|
||||
"/mnt/Public/Downloads/Clean_Music:/music/CleanMusic:ro",
|
||||
"/mnt/Public/Downloads/incoming_music:/music/incomingmusic:ro",
|
||||
"/mnt/Public/Downloads/podcasts:/podcasts",
|
||||
"/mnt/Public/Downloads/musicplaylists:/musicplaylists"
|
||||
],
|
||||
"port_map": [
|
||||
{
|
||||
"http": 80.0
|
||||
}
|
||||
],
|
||||
"image": "sentriz/gonic"
|
||||
},
|
||||
"Constraints": [
|
||||
{
|
||||
"LTarget": "${attr.consul.version}",
|
||||
"Operand": "semver",
|
||||
"RTarget": ">= 1.8.0"
|
||||
}
|
||||
],
|
||||
"Consul": null,
|
||||
"DispatchPayload": null,
|
||||
"Driver": "docker",
|
||||
"Env": {
|
||||
"GONIC_SCAN_INTERVAL": "120",
|
||||
"GONIC_MUSIC_PATH": "/music",
|
||||
"GONIC_PODCAST_PATH": "/podcasts",
|
||||
"GONIC_PLAYLISTS_PATH": "/musicplaylists"
|
||||
},
|
||||
"Identities": null,
|
||||
"Identity": {
|
||||
"Audience": [
|
||||
"nomadproject.io"
|
||||
],
|
||||
"ChangeMode": "",
|
||||
"ChangeSignal": "",
|
||||
"Env": false,
|
||||
"File": false,
|
||||
"Filepath": "",
|
||||
"Name": "default",
|
||||
"ServiceName": "",
|
||||
"TTL": 0
|
||||
},
|
||||
"KillSignal": "",
|
||||
"KillTimeout": 5000000000,
|
||||
"Kind": "",
|
||||
"Leader": false,
|
||||
"Lifecycle": null,
|
||||
"LogConfig": {
|
||||
"Disabled": false,
|
||||
"MaxFileSizeMB": 10,
|
||||
"MaxFiles": 10
|
||||
},
|
||||
"Meta": null,
|
||||
"Name": "gonic",
|
||||
"Resources": {
|
||||
"CPU": 100,
|
||||
"Cores": 0,
|
||||
"Devices": null,
|
||||
"DiskMB": 0,
|
||||
"IOPS": 0,
|
||||
"MemoryMB": 256,
|
||||
"MemoryMaxMB": 0,
|
||||
"NUMA": null,
|
||||
"Networks": [
|
||||
{
|
||||
"ReservedPorts": [
|
||||
{
|
||||
"HostNetwork": "default",
|
||||
"Label": "http",
|
||||
"Value": 4747
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SecretsMB": 0
|
||||
},
|
||||
"RestartPolicy": {
|
||||
"Attempts": 2,
|
||||
"Delay": 15000000000,
|
||||
"Interval": 1800000000000,
|
||||
"Mode": "fail",
|
||||
"RenderTemplates": false
|
||||
},
|
||||
"ScalingPolicies": null,
|
||||
"Schedule": null,
|
||||
"Services": [
|
||||
{
|
||||
"Address": "",
|
||||
"AddressMode": "auto",
|
||||
"CanaryMeta": null,
|
||||
"CanaryTags": null,
|
||||
"Checks": [
|
||||
{
|
||||
"AddressMode": "",
|
||||
"Args": null,
|
||||
"Body": "",
|
||||
"CheckRestart": null,
|
||||
"Command": "",
|
||||
"Expose": false,
|
||||
"FailuresBeforeCritical": 0,
|
||||
"FailuresBeforeWarning": 0,
|
||||
"GRPCService": "",
|
||||
"GRPCUseTLS": false,
|
||||
"Header": null,
|
||||
"InitialStatus": "",
|
||||
"Interval": 10000000000,
|
||||
"Method": "",
|
||||
"Name": "service: \"gonic\" check",
|
||||
"Notes": "",
|
||||
"OnUpdate": "require_healthy",
|
||||
"Path": "",
|
||||
"PortLabel": "",
|
||||
"Protocol": "",
|
||||
"SuccessBeforePassing": 0,
|
||||
"TLSServerName": "",
|
||||
"TLSSkipVerify": false,
|
||||
"TaskName": "gonic",
|
||||
"Timeout": 2000000000,
|
||||
"Type": "tcp"
|
||||
}
|
||||
],
|
||||
"Cluster": "default",
|
||||
"Connect": null,
|
||||
"EnableTagOverride": false,
|
||||
"Identity": null,
|
||||
"Meta": {
|
||||
"ALLOC": "${NOMAD_ALLOC_ID}"
|
||||
},
|
||||
"Name": "gonic",
|
||||
"Namespace": "default",
|
||||
"OnUpdate": "require_healthy",
|
||||
"PortLabel": "http",
|
||||
"Provider": "consul",
|
||||
"TaggedAddresses": null,
|
||||
"Tags": [
|
||||
"gonic",
|
||||
"web",
|
||||
"urlprefix-/gonic",
|
||||
"backend",
|
||||
"traefik.http.routers.goniclan.rule=Host(`gonic.service.dc1.consul`)",
|
||||
"traefik.http.routers.gonicwan.rule=Host(`mg.fbleagh.duckdns.org`)",
|
||||
"traefik.http.routers.gonicwan.tls=true",
|
||||
"traefik.http.routers.gonicwan.tls.certresolver=myresolver"
|
||||
],
|
||||
"TaskName": "gonic",
|
||||
"Weights": null
|
||||
}
|
||||
],
|
||||
"ShutdownDelay": 0,
|
||||
"Templates": null,
|
||||
"User": "",
|
||||
"Vault": null,
|
||||
"VolumeMounts": null
|
||||
},
|
||||
{
|
||||
"Actions": null,
|
||||
"Affinities": null,
|
||||
"Artifacts": null,
|
||||
"CSIPluginConfig": null,
|
||||
"Config": {
|
||||
"memory_hard_limit": "2048",
|
||||
"image": "ghcr.io/sstent/rsync",
|
||||
"volumes": [
|
||||
"/mnt/configs/${NOMAD_GROUP_NAME}:/config",
|
||||
"/mnt/Public/config/${NOMAD_GROUP_NAME}:/configbackup",
|
||||
"/mnt/Public/config/locks:/locks"
|
||||
],
|
||||
"args": [
|
||||
"flock",
|
||||
"-x",
|
||||
"/locks/${NOMAD_GROUP_NAME}_rsync.lock",
|
||||
"rsync",
|
||||
"-av",
|
||||
"--exclude=Backups",
|
||||
"/configbackup/",
|
||||
"/config/",
|
||||
"--delete-before"
|
||||
]
|
||||
},
|
||||
"Constraints": null,
|
||||
"Consul": null,
|
||||
"DispatchPayload": null,
|
||||
"Driver": "docker",
|
||||
"Env": null,
|
||||
"Identities": null,
|
||||
"Identity": {
|
||||
"Audience": [
|
||||
"nomadproject.io"
|
||||
],
|
||||
"ChangeMode": "",
|
||||
"ChangeSignal": "",
|
||||
"Env": false,
|
||||
"File": false,
|
||||
"Filepath": "",
|
||||
"Name": "default",
|
||||
"ServiceName": "",
|
||||
"TTL": 0
|
||||
},
|
||||
"KillSignal": "",
|
||||
"KillTimeout": 5000000000,
|
||||
"Kind": "",
|
||||
"Leader": false,
|
||||
"Lifecycle": {
|
||||
"Hook": "prestart",
|
||||
"Sidecar": false
|
||||
},
|
||||
"LogConfig": {
|
||||
"Disabled": false,
|
||||
"MaxFileSizeMB": 10,
|
||||
"MaxFiles": 10
|
||||
},
|
||||
"Meta": null,
|
||||
"Name": "init-manual",
|
||||
"Resources": {
|
||||
"CPU": 20,
|
||||
"Cores": 0,
|
||||
"Devices": null,
|
||||
"DiskMB": 0,
|
||||
"IOPS": 0,
|
||||
"MemoryMB": 20,
|
||||
"MemoryMaxMB": 0,
|
||||
"NUMA": null,
|
||||
"Networks": null,
|
||||
"SecretsMB": 0
|
||||
},
|
||||
"RestartPolicy": {
|
||||
"Attempts": 2,
|
||||
"Delay": 15000000000,
|
||||
"Interval": 1800000000000,
|
||||
"Mode": "fail",
|
||||
"RenderTemplates": false
|
||||
},
|
||||
"ScalingPolicies": null,
|
||||
"Schedule": null,
|
||||
"Services": null,
|
||||
"ShutdownDelay": 0,
|
||||
"Templates": null,
|
||||
"User": "",
|
||||
"Vault": null,
|
||||
"VolumeMounts": null
|
||||
},
|
||||
{
|
||||
"Actions": null,
|
||||
"Affinities": null,
|
||||
"Artifacts": null,
|
||||
"CSIPluginConfig": null,
|
||||
"Config": {
|
||||
"volumes": [
|
||||
"/mnt/configs/${NOMAD_GROUP_NAME}:/config",
|
||||
"/mnt/Public/config/${NOMAD_GROUP_NAME}:/configbackup",
|
||||
"/mnt/Public/config/locks:/locks"
|
||||
],
|
||||
"args": [
|
||||
"flock",
|
||||
"-x",
|
||||
"/locks/${NOMAD_GROUP_NAME}_rsync.lock",
|
||||
"rsync",
|
||||
"-av",
|
||||
"/config/",
|
||||
"/configbackup/"
|
||||
],
|
||||
"memory_hard_limit": "2048",
|
||||
"image": "ghcr.io/sstent/rsync"
|
||||
},
|
||||
"Constraints": null,
|
||||
"Consul": null,
|
||||
"DispatchPayload": null,
|
||||
"Driver": "docker",
|
||||
"Env": null,
|
||||
"Identities": null,
|
||||
"Identity": {
|
||||
"Audience": [
|
||||
"nomadproject.io"
|
||||
],
|
||||
"ChangeMode": "",
|
||||
"ChangeSignal": "",
|
||||
"Env": false,
|
||||
"File": false,
|
||||
"Filepath": "",
|
||||
"Name": "default",
|
||||
"ServiceName": "",
|
||||
"TTL": 0
|
||||
},
|
||||
"KillSignal": "",
|
||||
"KillTimeout": 5000000000,
|
||||
"Kind": "",
|
||||
"Leader": false,
|
||||
"Lifecycle": {
|
||||
"Hook": "poststop",
|
||||
"Sidecar": false
|
||||
},
|
||||
"LogConfig": {
|
||||
"Disabled": false,
|
||||
"MaxFileSizeMB": 10,
|
||||
"MaxFiles": 10
|
||||
},
|
||||
"Meta": null,
|
||||
"Name": "finalsync-manual",
|
||||
"Resources": {
|
||||
"CPU": 20,
|
||||
"Cores": 0,
|
||||
"Devices": null,
|
||||
"DiskMB": 0,
|
||||
"IOPS": 0,
|
||||
"MemoryMB": 20,
|
||||
"MemoryMaxMB": 0,
|
||||
"NUMA": null,
|
||||
"Networks": null,
|
||||
"SecretsMB": 0
|
||||
},
|
||||
"RestartPolicy": {
|
||||
"Attempts": 2,
|
||||
"Delay": 15000000000,
|
||||
"Interval": 1800000000000,
|
||||
"Mode": "fail",
|
||||
"RenderTemplates": false
|
||||
},
|
||||
"ScalingPolicies": null,
|
||||
"Schedule": null,
|
||||
"Services": null,
|
||||
"ShutdownDelay": 0,
|
||||
"Templates": null,
|
||||
"User": "",
|
||||
"Vault": null,
|
||||
"VolumeMounts": null
|
||||
},
|
||||
{
|
||||
"Actions": null,
|
||||
"Affinities": null,
|
||||
"Artifacts": null,
|
||||
"CSIPluginConfig": null,
|
||||
"Config": {
|
||||
"volumes": [
|
||||
"/mnt/configs/${NOMAD_GROUP_NAME}:/config",
|
||||
"/mnt/Public/config/${NOMAD_GROUP_NAME}:/configbackup"
|
||||
],
|
||||
"memory_hard_limit": "2048",
|
||||
"image": "ghcr.io/sstent/rsync"
|
||||
},
|
||||
"Constraints": null,
|
||||
"Consul": null,
|
||||
"DispatchPayload": null,
|
||||
"Driver": "docker",
|
||||
"Env": null,
|
||||
"Identities": null,
|
||||
"Identity": {
|
||||
"Audience": [
|
||||
"nomadproject.io"
|
||||
],
|
||||
"ChangeMode": "",
|
||||
"ChangeSignal": "",
|
||||
"Env": false,
|
||||
"File": false,
|
||||
"Filepath": "",
|
||||
"Name": "default",
|
||||
"ServiceName": "",
|
||||
"TTL": 0
|
||||
},
|
||||
"KillSignal": "",
|
||||
"KillTimeout": 5000000000,
|
||||
"Kind": "",
|
||||
"Leader": false,
|
||||
"Lifecycle": {
|
||||
"Hook": "poststart",
|
||||
"Sidecar": true
|
||||
},
|
||||
"LogConfig": {
|
||||
"Disabled": false,
|
||||
"MaxFileSizeMB": 10,
|
||||
"MaxFiles": 10
|
||||
},
|
||||
"Meta": null,
|
||||
"Name": "db-sync",
|
||||
"Resources": {
|
||||
"CPU": 20,
|
||||
"Cores": 0,
|
||||
"Devices": null,
|
||||
"DiskMB": 0,
|
||||
"IOPS": 0,
|
||||
"MemoryMB": 20,
|
||||
"MemoryMaxMB": 0,
|
||||
"NUMA": null,
|
||||
"Networks": null,
|
||||
"SecretsMB": 0
|
||||
},
|
||||
"RestartPolicy": {
|
||||
"Attempts": 2,
|
||||
"Delay": 15000000000,
|
||||
"Interval": 1800000000000,
|
||||
"Mode": "fail",
|
||||
"RenderTemplates": false
|
||||
},
|
||||
"ScalingPolicies": null,
|
||||
"Schedule": null,
|
||||
"Services": null,
|
||||
"ShutdownDelay": 0,
|
||||
"Templates": [
|
||||
{
|
||||
"ChangeMode": "restart",
|
||||
"ChangeScript": null,
|
||||
"ChangeSignal": "",
|
||||
"DestPath": "local/litestream.yml",
|
||||
"EmbeddedTmpl": "dbs:\n - path: /data/gonic.db\n replicas:\n - path: /configbackup\n",
|
||||
"Envvars": false,
|
||||
"ErrMissingKey": false,
|
||||
"Gid": null,
|
||||
"LeftDelim": "{{",
|
||||
"Once": false,
|
||||
"Perms": "0644",
|
||||
"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": 30000000000
|
||||
},
|
||||
"Volumes": null
|
||||
}
|
||||
],
|
||||
"Type": "service",
|
||||
"UI": null,
|
||||
"Update": {
|
||||
"AutoPromote": false,
|
||||
"AutoRevert": false,
|
||||
"Canary": 0,
|
||||
"HealthCheck": "",
|
||||
"HealthyDeadline": 0,
|
||||
"MaxParallel": 1,
|
||||
"MinHealthyTime": 0,
|
||||
"ProgressDeadline": 0,
|
||||
"Stagger": 30000000000
|
||||
},
|
||||
"VaultNamespace": "",
|
||||
"Version": 0,
|
||||
"VersionTag": null
|
||||
}
|
||||
Reference in New Issue
Block a user