first commit
This commit is contained in:
304
nomad_backup/20251115_141532/auth.json
Normal file
304
nomad_backup/20251115_141532/auth.json
Normal file
@@ -0,0 +1,304 @@
|
||||
{
|
||||
"Affinities": null,
|
||||
"AllAtOnce": false,
|
||||
"Constraints": [
|
||||
{
|
||||
"LTarget": "${attr.kernel.name}",
|
||||
"Operand": "=",
|
||||
"RTarget": "linux"
|
||||
},
|
||||
{
|
||||
"LTarget": "${attr.unique.hostname}",
|
||||
"Operand": "regexp",
|
||||
"RTarget": "odroid.*"
|
||||
}
|
||||
],
|
||||
"ConsulNamespace": "",
|
||||
"CreateIndex": 13571978,
|
||||
"Datacenters": [
|
||||
"dc1"
|
||||
],
|
||||
"DispatchIdempotencyToken": "",
|
||||
"Dispatched": false,
|
||||
"ID": "auth",
|
||||
"JobModifyIndex": 13770263,
|
||||
"Meta": null,
|
||||
"ModifyIndex": 13990955,
|
||||
"Multiregion": null,
|
||||
"Name": "auth",
|
||||
"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": 1748145867863720703,
|
||||
"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": "auth",
|
||||
"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": {
|
||||
"port_map": [
|
||||
{
|
||||
"auth": 4181.0
|
||||
}
|
||||
],
|
||||
"image": "thomseddon/traefik-forward-auth:2-arm",
|
||||
"volumes": [
|
||||
"/etc/localtime:/etc/localtime:ro"
|
||||
]
|
||||
},
|
||||
"Constraints": [
|
||||
{
|
||||
"LTarget": "${attr.consul.version}",
|
||||
"Operand": "semver",
|
||||
"RTarget": ">= 1.8.0"
|
||||
}
|
||||
],
|
||||
"Consul": null,
|
||||
"DispatchPayload": null,
|
||||
"Driver": "docker",
|
||||
"Env": {
|
||||
"CONFIG": "/local/config.ini",
|
||||
"LIFETIME": "31536000",
|
||||
"WHITELIST": "stuart.stent@gmail.com,stephen.bunt@gmail.com",
|
||||
"COOKIE_DOMAIN": "fbleagh.duckdns.org",
|
||||
"PROVIDERS_GOOGLE_CLIENT_ID": "807888907647-uog95jmiolsuh6ql1t8jm53l1jvuajck.apps.googleusercontent.com",
|
||||
"PROVIDERS_GOOGLE_CLIENT_SECRET": "B8bDri5mFvGv-Ghzbt8fLj4W",
|
||||
"SECRET": "ladskfdjmqwermnnbasfnmldas"
|
||||
},
|
||||
"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": "fwdauth",
|
||||
"Resources": {
|
||||
"CPU": 100,
|
||||
"Cores": 0,
|
||||
"Devices": null,
|
||||
"DiskMB": 0,
|
||||
"IOPS": 0,
|
||||
"MemoryMB": 64,
|
||||
"MemoryMaxMB": 0,
|
||||
"NUMA": null,
|
||||
"Networks": [
|
||||
{
|
||||
"ReservedPorts": [
|
||||
{
|
||||
"HostNetwork": "default",
|
||||
"Label": "auth",
|
||||
"Value": 4181
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"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: \"dex\" check",
|
||||
"Notes": "",
|
||||
"OnUpdate": "require_healthy",
|
||||
"Path": "",
|
||||
"PortLabel": "",
|
||||
"Protocol": "",
|
||||
"SuccessBeforePassing": 0,
|
||||
"TLSServerName": "",
|
||||
"TLSSkipVerify": false,
|
||||
"TaskName": "fwdauth",
|
||||
"Timeout": 2000000000,
|
||||
"Type": "tcp"
|
||||
}
|
||||
],
|
||||
"Cluster": "default",
|
||||
"Connect": null,
|
||||
"EnableTagOverride": false,
|
||||
"Identity": null,
|
||||
"Meta": null,
|
||||
"Name": "dex",
|
||||
"Namespace": "default",
|
||||
"OnUpdate": "require_healthy",
|
||||
"PortLabel": "auth",
|
||||
"Provider": "consul",
|
||||
"TaggedAddresses": null,
|
||||
"Tags": [
|
||||
"fwdauth",
|
||||
"web",
|
||||
"traefik.http.routers.dex.rule=Host(`fwdauth.fbleagh.duckdns.org`,`fwdauth.fbleagh.dedyn.io`)",
|
||||
"traefik.http.routers.dex.entrypoints=websecure",
|
||||
"traefik.http.routers.dex.tls=true",
|
||||
"traefik.http.middlewares.dex.forwardauth.address=http://dex.service.dc1.consul:4181",
|
||||
"traefik.http.middlewares.dex.forwardauth.trustForwardHeader=true",
|
||||
"traefik.http.middlewares.dex.forwardauth.authResponseHeaders=X-Forwarded-User",
|
||||
"traefik.http.routers.auth.middlewares=dex",
|
||||
"traefik.http.routers.traefik-forward-auth.middlewares=dex"
|
||||
],
|
||||
"TaskName": "fwdauth",
|
||||
"Weights": null
|
||||
}
|
||||
],
|
||||
"ShutdownDelay": 0,
|
||||
"Templates": [
|
||||
{
|
||||
"ChangeMode": "restart",
|
||||
"ChangeScript": null,
|
||||
"ChangeSignal": "",
|
||||
"DestPath": "local/config.ini",
|
||||
"EmbeddedTmpl": "{{ key \"Dex\" }}",
|
||||
"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": 2,
|
||||
"VersionTag": null
|
||||
}
|
||||
Reference in New Issue
Block a user