254 lines
6.5 KiB
JSON
254 lines
6.5 KiB
JSON
{
|
|
"Affinities": null,
|
|
"AllAtOnce": false,
|
|
"Constraints": null,
|
|
"ConsulNamespace": "",
|
|
"CreateIndex": 14013004,
|
|
"Datacenters": [
|
|
"dc1"
|
|
],
|
|
"DispatchIdempotencyToken": "",
|
|
"Dispatched": false,
|
|
"ID": "minihass",
|
|
"JobModifyIndex": 14013055,
|
|
"Meta": null,
|
|
"ModifyIndex": 14013061,
|
|
"Multiregion": null,
|
|
"Name": "minihass",
|
|
"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": 1758392051490505959,
|
|
"TaskGroups": [
|
|
{
|
|
"Affinities": null,
|
|
"Constraints": [
|
|
{
|
|
"LTarget": "${attr.consul.version}",
|
|
"Operand": "semver",
|
|
"RTarget": ">= 1.8.0"
|
|
}
|
|
],
|
|
"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": "smart-home",
|
|
"Networks": [
|
|
{
|
|
"DynamicPorts": [
|
|
{
|
|
"HostNetwork": "default",
|
|
"Label": "http",
|
|
"To": 5000
|
|
}
|
|
],
|
|
"Mode": "host"
|
|
}
|
|
],
|
|
"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": [
|
|
{
|
|
"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": 30000000000,
|
|
"Method": "",
|
|
"Name": "service: \"minihass\" check",
|
|
"Notes": "",
|
|
"OnUpdate": "require_healthy",
|
|
"Path": "/health",
|
|
"PortLabel": "",
|
|
"Protocol": "",
|
|
"SuccessBeforePassing": 0,
|
|
"TLSServerName": "",
|
|
"TLSSkipVerify": false,
|
|
"TaskName": "",
|
|
"Timeout": 7000000000,
|
|
"Type": "http"
|
|
}
|
|
],
|
|
"Cluster": "default",
|
|
"Connect": null,
|
|
"EnableTagOverride": false,
|
|
"Identity": null,
|
|
"Meta": null,
|
|
"Name": "minihass",
|
|
"Namespace": "default",
|
|
"OnUpdate": "require_healthy",
|
|
"PortLabel": "http",
|
|
"Provider": "consul",
|
|
"TaggedAddresses": null,
|
|
"Tags": [
|
|
"traefik.http.routers.minihasslan.rule=Host(`minihass.service.dc1.consul`)",
|
|
"traefik.http.routers.minihasswan.rule=Host(`mh.fbleagh.duckdns.org`)",
|
|
"traefik.http.routers.minihasswan.middlewares=dex@consulcatalog",
|
|
"traefik.http.routers.minihasswan.tls=true"
|
|
],
|
|
"TaskName": "",
|
|
"Weights": null
|
|
}
|
|
],
|
|
"ShutdownDelay": null,
|
|
"Spreads": null,
|
|
"StopAfterClientDisconnect": null,
|
|
"Tasks": [
|
|
{
|
|
"Actions": null,
|
|
"Affinities": null,
|
|
"Artifacts": null,
|
|
"CSIPluginConfig": null,
|
|
"Config": {
|
|
"image": "ghcr.io/sstent/minihass",
|
|
"ports": [
|
|
"http"
|
|
]
|
|
},
|
|
"Constraints": null,
|
|
"Consul": null,
|
|
"DispatchPayload": null,
|
|
"Driver": "docker",
|
|
"Env": {
|
|
"CONSUL_HOST": "consul.service.dc1.consul",
|
|
"CONSUL_PORT": "8500"
|
|
},
|
|
"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": "app",
|
|
"Resources": {
|
|
"CPU": 500,
|
|
"Cores": 0,
|
|
"Devices": null,
|
|
"DiskMB": 0,
|
|
"IOPS": 0,
|
|
"MemoryMB": 256,
|
|
"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
|
|
}
|
|
],
|
|
"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": 3,
|
|
"VersionTag": null
|
|
} |