414 lines
11 KiB
JSON
414 lines
11 KiB
JSON
{
|
|
"Affinities": null,
|
|
"AllAtOnce": false,
|
|
"Constraints": null,
|
|
"ConsulNamespace": "",
|
|
"CreateIndex": 13571905,
|
|
"Datacenters": [
|
|
"dc1"
|
|
],
|
|
"DispatchIdempotencyToken": "",
|
|
"Dispatched": false,
|
|
"ID": "immich",
|
|
"JobModifyIndex": 14198769,
|
|
"Meta": null,
|
|
"ModifyIndex": 14198796,
|
|
"Multiregion": null,
|
|
"Name": "immich",
|
|
"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": 1763139333220876334,
|
|
"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": "immich",
|
|
"Networks": [
|
|
{
|
|
"ReservedPorts": [
|
|
{
|
|
"HostNetwork": "default",
|
|
"Label": "http",
|
|
"To": 8080,
|
|
"Value": 8088
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreventRescheduleOnLost": false,
|
|
"ReschedulePolicy": {
|
|
"Attempts": 0,
|
|
"Delay": 30000000000,
|
|
"DelayFunction": "exponential",
|
|
"Interval": 0,
|
|
"MaxDelay": 3600000000000,
|
|
"Unlimited": true
|
|
},
|
|
"RestartPolicy": {
|
|
"Attempts": 2,
|
|
"Delay": 30000000000,
|
|
"Interval": 300000000000,
|
|
"Mode": "delay",
|
|
"RenderTemplates": false
|
|
},
|
|
"Scaling": null,
|
|
"Services": null,
|
|
"ShutdownDelay": null,
|
|
"Spreads": null,
|
|
"StopAfterClientDisconnect": null,
|
|
"Tasks": [
|
|
{
|
|
"Actions": null,
|
|
"Affinities": null,
|
|
"Artifacts": null,
|
|
"CSIPluginConfig": null,
|
|
"Config": {
|
|
"image": "ghcr.io/imagegenius/immich:2.2.3-noml",
|
|
"memory_hard_limit": "2048",
|
|
"ports": [
|
|
"http"
|
|
],
|
|
"volumes": [
|
|
"/mnt/Public/configs/Immich:/config",
|
|
"/mnt/Public/Immich/Photos:/photos",
|
|
"/mnt/Public/Immich/libraries:/libraries"
|
|
]
|
|
},
|
|
"Constraints": [
|
|
{
|
|
"LTarget": "${attr.consul.version}",
|
|
"Operand": "semver",
|
|
"RTarget": ">= 1.8.0"
|
|
}
|
|
],
|
|
"Consul": null,
|
|
"DispatchPayload": null,
|
|
"Driver": "docker",
|
|
"Env": {
|
|
"DB_PORT": "5432",
|
|
"REDIS_HOSTNAME": "redis.service.dc1.consul",
|
|
"MACHINE_LEARNING_WORKER_TIMEOUT": "120",
|
|
"DB_PASSWORD": "postgres",
|
|
"PUID": "1000",
|
|
"DB_HOSTNAME": "master.postgres.service.dc1.consul",
|
|
"PGID": "1000",
|
|
"REDIS_PORT": "6379",
|
|
"MACHINE_LEARNING_PORT": "3003",
|
|
"MACHINE_LEARNING_HOST": "0.0.0.0",
|
|
"DB_VECTOR_EXTENSION": "pgvector",
|
|
"MACHINE_LEARNING_WORKERS": "1",
|
|
"DB_USERNAME": "postgres",
|
|
"REDIS_PASSWORD": "",
|
|
"TZ": "Etc/UTC",
|
|
"DB_DATABASE_NAME": "immich"
|
|
},
|
|
"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": "immich",
|
|
"Resources": {
|
|
"CPU": 500,
|
|
"Cores": 0,
|
|
"Devices": null,
|
|
"DiskMB": 0,
|
|
"IOPS": 0,
|
|
"MemoryMB": 512,
|
|
"MemoryMaxMB": 0,
|
|
"NUMA": null,
|
|
"Networks": null,
|
|
"SecretsMB": 0
|
|
},
|
|
"RestartPolicy": {
|
|
"Attempts": 2,
|
|
"Delay": 30000000000,
|
|
"Interval": 300000000000,
|
|
"Mode": "delay",
|
|
"RenderTemplates": false
|
|
},
|
|
"ScalingPolicies": null,
|
|
"Schedule": null,
|
|
"Services": [
|
|
{
|
|
"Address": "",
|
|
"AddressMode": "auto",
|
|
"CanaryMeta": null,
|
|
"CanaryTags": null,
|
|
"Checks": null,
|
|
"Cluster": "default",
|
|
"Connect": null,
|
|
"EnableTagOverride": false,
|
|
"Identity": null,
|
|
"Meta": null,
|
|
"Name": "immich",
|
|
"Namespace": "default",
|
|
"OnUpdate": "require_healthy",
|
|
"PortLabel": "http",
|
|
"Provider": "consul",
|
|
"TaggedAddresses": null,
|
|
"Tags": [
|
|
"immich",
|
|
"tools",
|
|
"traefik.http.routers.immichlan.rule=Host(`immich.service.dc1.consul`)",
|
|
"traefik.http.routers.immichwan.rule=Host(`immich.fbleagh.duckdns.org`)",
|
|
"traefik.http.routers.immichwan.tls=true"
|
|
],
|
|
"TaskName": "immich",
|
|
"Weights": 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
|
|
},
|
|
{
|
|
"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": "redis",
|
|
"Networks": [
|
|
{
|
|
"ReservedPorts": [
|
|
{
|
|
"HostNetwork": "default",
|
|
"Label": "redis",
|
|
"Value": 6379
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreventRescheduleOnLost": false,
|
|
"ReschedulePolicy": {
|
|
"Attempts": 0,
|
|
"Delay": 30000000000,
|
|
"DelayFunction": "exponential",
|
|
"Interval": 0,
|
|
"MaxDelay": 3600000000000,
|
|
"Unlimited": true
|
|
},
|
|
"RestartPolicy": {
|
|
"Attempts": 2,
|
|
"Delay": 30000000000,
|
|
"Interval": 300000000000,
|
|
"Mode": "delay",
|
|
"RenderTemplates": false
|
|
},
|
|
"Scaling": null,
|
|
"Services": null,
|
|
"ShutdownDelay": null,
|
|
"Spreads": null,
|
|
"StopAfterClientDisconnect": null,
|
|
"Tasks": [
|
|
{
|
|
"Actions": null,
|
|
"Affinities": null,
|
|
"Artifacts": null,
|
|
"CSIPluginConfig": null,
|
|
"Config": {
|
|
"image": "redis",
|
|
"ports": [
|
|
"redis"
|
|
]
|
|
},
|
|
"Constraints": [
|
|
{
|
|
"LTarget": "${attr.consul.version}",
|
|
"Operand": "semver",
|
|
"RTarget": ">= 1.8.0"
|
|
}
|
|
],
|
|
"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": null,
|
|
"LogConfig": {
|
|
"Disabled": false,
|
|
"MaxFileSizeMB": 10,
|
|
"MaxFiles": 10
|
|
},
|
|
"Meta": null,
|
|
"Name": "redis",
|
|
"Resources": {
|
|
"CPU": 250,
|
|
"Cores": 0,
|
|
"Devices": null,
|
|
"DiskMB": 0,
|
|
"IOPS": 0,
|
|
"MemoryMB": 256,
|
|
"MemoryMaxMB": 0,
|
|
"NUMA": null,
|
|
"Networks": null,
|
|
"SecretsMB": 0
|
|
},
|
|
"RestartPolicy": {
|
|
"Attempts": 2,
|
|
"Delay": 30000000000,
|
|
"Interval": 300000000000,
|
|
"Mode": "delay",
|
|
"RenderTemplates": false
|
|
},
|
|
"ScalingPolicies": null,
|
|
"Schedule": null,
|
|
"Services": [
|
|
{
|
|
"Address": "",
|
|
"AddressMode": "auto",
|
|
"CanaryMeta": null,
|
|
"CanaryTags": null,
|
|
"Checks": null,
|
|
"Cluster": "default",
|
|
"Connect": null,
|
|
"EnableTagOverride": false,
|
|
"Identity": null,
|
|
"Meta": null,
|
|
"Name": "redis",
|
|
"Namespace": "default",
|
|
"OnUpdate": "require_healthy",
|
|
"PortLabel": "redis",
|
|
"Provider": "consul",
|
|
"TaggedAddresses": null,
|
|
"Tags": [
|
|
"wallabag",
|
|
"tools"
|
|
],
|
|
"TaskName": "redis",
|
|
"Weights": 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": 15,
|
|
"VersionTag": null
|
|
} |