From 8e1ef08ec921716d80fc987be1b2ac8c4c70ad02 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 18:17:50 +0000 Subject: [PATCH] chore: update installation data --- scripts/self-hosted/db.sql | 14 +++++++------- scripts/self-hosted/install-server.sh | 10 ++-------- scripts/self-hosted/tasks.json | 14 +++++++------- 3 files changed, 16 insertions(+), 22 deletions(-) diff --git a/scripts/self-hosted/db.sql b/scripts/self-hosted/db.sql index cd937d8..f3320eb 100644 --- a/scripts/self-hosted/db.sql +++ b/scripts/self-hosted/db.sql @@ -1352,15 +1352,15 @@ COPY public.node_tasks (id, team_id, task_group_id, type, meta, payload, status, 5 1 2 2 {"path": "/start.sh", "processName": "svc_1_caddy_svc", "deploymentId": 1} {"SwarmConfigSpec": {"Data": "IyBUaGlzIGlzIHRoZSBlbnRyeXBvaW50IGZvciBDYWRkeS4KIyBCeSBkZWZhdWx0LCBpdCBzdGFydHMgd2l0aCBhIGJsYW5rIENhZGR5ZmlsZSB3aXRoIGEgc3RhbmRhcmQgIkhlbGxvIGZyb20gQ2FkZHkiIHBhZ2UuCgppZiBbIC1mICIvY29uZmlnL2NhZGR5L2F1dG9zYXZlLmpzb24iIF07IHRoZW4KICAgIGVjaG8gIlN0YXJ0aW5nIHdpdGggYXV0b3NhdmUuanNvbiIKCiAgICBjYWRkeSBydW4gLS1jb25maWcgIi9jb25maWcvY2FkZHkvYXV0b3NhdmUuanNvbiIKZWxzZQogICAgZWNobyAiU3RhcnRpbmcgd2l0aCB0aGUgZGVmYXVsdCBDYWRkeWZpbGUiCgogICAgY2FkZHkgcnVuIC0tY29uZmlnICIvZXRjL2NhZGR5L0NhZGR5ZmlsZSIKZmk=", "Name": "svc_1_caddy_svc_dpl_1_cfg_start_sh", "Labels": {"sh.ptah.kind": "config", "sh.ptah.managed": "1", "sh.ptah.service.id": "1", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 4 1 2 2 {"path": "/ptah/caddy/tls/.keep", "processName": "svc_1_caddy_svc", "deploymentId": 1} {"SwarmConfigSpec": {"Data": "IyBLZWVwIHRoaXMgZmlsZQ==", "Name": "svc_1_caddy_svc_dpl_1_cfg_ptah_caddy_tls_keep", "Labels": {"sh.ptah.kind": "config", "sh.ptah.managed": "1", "sh.ptah.service.id": "1", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 9 1 3 14 {"dockerImage": "bitnami/postgresql:16"} {"Image": "bitnami/postgresql:16", "PullOptions": {}, "AuthConfigName": ""} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 -10 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_pg_wkr_main", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_pg_wkr_main", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "nxWJKPeaDItqZjsZ8JUiVWVndFJeZ8O9", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "pg", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["pg.server.ptah.local", "dpl-2.main.pg.server.ptah.local"]}], "ContainerSpec": {"Env": ["POSTGRESQL_USERNAME=ptah_sh", "POSTGRESQL_PASSWORD=ptah_sh", "POSTGRESQL_DATABASE=ptah_sh", "PTAH_INTERNAL_DOMAIN=pg.server.ptah.local", "PTAH_HOSTNAME=dpl-2.main.pg.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=pg", "PTAH_WORKER_NAME=main"], "Args": null, "Hosts": ["pg.server.ptah.local"], "Image": "bitnami/postgresql:16", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "nxWJKPeaDItqZjsZ8JUiVWVndFJeZ8O9", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "pg", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [{"Type": "volume", "Source": "svc_2_ptah_pg_data", "Target": "/bitnami/postgresql", "VolumeOptions": {"Labels": {"sh.ptah.managed": "1", "sh.ptah.volume.id": "volume-l2m3n4o5p6", "sh.ptah.service.id": "2", "sh.ptah.volume.path": "/bitnami/postgresql", "sh.ptah.process.name": "pg", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}}}], "Command": null, "Configs": [], "Secrets": [], "Hostname": "dpl-2.main.pg.server.ptah.local", "Placement": {"Constraints": ["node.labels.sh.ptah.node.id==1"]}, "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 +10 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_pg_wkr_main", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_pg_wkr_main", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "mJS06c1XYmj5dt5D8Uv7OH2y2aMkc5dU", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "pg", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["pg.server.ptah.local", "dpl-2.main.pg.server.ptah.local"]}], "ContainerSpec": {"Env": ["POSTGRESQL_USERNAME=ptah_sh", "POSTGRESQL_PASSWORD=ptah_sh", "POSTGRESQL_DATABASE=ptah_sh", "PTAH_INTERNAL_DOMAIN=pg.server.ptah.local", "PTAH_HOSTNAME=dpl-2.main.pg.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=pg", "PTAH_WORKER_NAME=main"], "Args": null, "Hosts": ["pg.server.ptah.local"], "Image": "bitnami/postgresql:16", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "mJS06c1XYmj5dt5D8Uv7OH2y2aMkc5dU", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "pg", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [{"Type": "volume", "Source": "svc_2_ptah_pg_data", "Target": "/bitnami/postgresql", "VolumeOptions": {"Labels": {"sh.ptah.managed": "1", "sh.ptah.volume.id": "volume-l2m3n4o5p6", "sh.ptah.service.id": "2", "sh.ptah.volume.path": "/bitnami/postgresql", "sh.ptah.process.name": "pg", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}}}], "Command": null, "Configs": [], "Secrets": [], "Hostname": "dpl-2.main.pg.server.ptah.local", "Placement": {"Constraints": ["node.labels.sh.ptah.node.id==1"]}, "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 11 1 3 14 {"dockerImage": "bitnami/pgbouncer"} {"Image": "bitnami/pgbouncer", "PullOptions": {}, "AuthConfigName": ""} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 -17 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_ptah_server_wkr_scheduler", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_ptah_server_wkr_scheduler", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "i7jQkLXq04lmYPK1t9PhVWgsbdGAKBYo", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "scheduler", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["scheduler.ptah-server.server.ptah.local", "dpl-2.scheduler.ptah-server.server.ptah.local"]}], "ContainerSpec": {"Env": ["APP_ENV=production", "APP_KEY=base64:APP_KEY", "BCRYPT_ROUNDS=12", "DB_CONNECTION=pgsql", "DB_HOST=pool.server.ptah.local", "DB_DATABASE=ptah_sh", "DB_USERNAME=ptah_sh", "DB_PASSWORD=ptah_sh", "LOG_CHANNEL=errorlog", "APP_URL=localhost", "BILLING_ENABLED=false", "VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428", "PTAH_INTERNAL_DOMAIN=scheduler.ptah-server.server.ptah.local", "PTAH_HOSTNAME=dpl-2.scheduler.ptah-server.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=ptah-server", "PTAH_WORKER_NAME=scheduler"], "Args": ["-c", "APP_SCHEDULER=main php artisan config:cache && php artisan schedule:work"], "Hosts": ["scheduler.ptah-server.server.ptah.local"], "Image": "ghcr.io/ptah-sh/ptah-server:latest", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "i7jQkLXq04lmYPK1t9PhVWgsbdGAKBYo", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "scheduler", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [], "Command": ["sh"], "Configs": [], "Secrets": [], "Hostname": "dpl-2.scheduler.ptah-server.server.ptah.local", "Placement": [], "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 -7 1 2 21 {"serviceId": 1, "dockerName": "caddy", "serviceName": "caddy", "deploymentId": 1} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "caddy", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "WZDwhfuN6utr9maLF6ilG9Qm2z1nOTNa", "sh.ptah.managed": "1", "sh.ptah.service.id": "1", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "svc", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}, "EndpointSpec": {"Ports": [{"Protocol": "tcp", "TargetPort": 80, "PublishMode": "ingress", "PublishedPort": 80}, {"Protocol": "tcp", "TargetPort": 443, "PublishMode": "ingress", "PublishedPort": 443}, {"Protocol": "tcp", "TargetPort": 2019, "PublishMode": "ingress", "PublishedPort": 2019}]}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["svc.caddy.ptah.local", "dpl-1.main.svc.caddy.ptah.local"]}], "ContainerSpec": {"Env": ["CADDY_ADMIN=0.0.0.0:2019", "PTAH_INTERNAL_DOMAIN=svc.caddy.ptah.local", "PTAH_HOSTNAME=dpl-1.main.svc.caddy.ptah.local", "PTAH_DEPLOYMENT_ID=1", "PTAH_SERVICE_ID=caddy_happy_ptah_1", "PTAH_PROCESS_NAME=svc", "PTAH_WORKER_NAME=main"], "Args": ["-c", "sh /start.sh"], "Hosts": ["svc.caddy.ptah.local"], "Image": "ghcr.io/ptah-sh/ptah-caddy:latest", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "WZDwhfuN6utr9maLF6ilG9Qm2z1nOTNa", "sh.ptah.managed": "1", "sh.ptah.service.id": "1", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "svc", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}, "Mounts": [{"Type": "volume", "Source": "svc_1_caddy_svc_data", "Target": "/data", "VolumeOptions": {"Labels": {"sh.ptah.managed": "1", "sh.ptah.volume.id": "volume-a1b2c3d4e5f", "sh.ptah.service.id": "1", "sh.ptah.volume.path": "/data", "sh.ptah.process.name": "svc", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}}}, {"Type": "volume", "Source": "svc_1_caddy_svc_config", "Target": "/config", "VolumeOptions": {"Labels": {"sh.ptah.managed": "1", "sh.ptah.volume.id": "volume-g6h7i8j9k1", "sh.ptah.service.id": "1", "sh.ptah.volume.path": "/config", "sh.ptah.process.name": "svc", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}}}], "Command": ["sh"], "Configs": [{"File": {"GID": "0", "UID": "0", "Mode": 511, "Name": "/ptah/caddy/tls/.keep"}, "ConfigName": "svc_1_caddy_svc_dpl_1_cfg_ptah_caddy_tls_keep"}, {"File": {"GID": "0", "UID": "0", "Mode": 511, "Name": "/start.sh"}, "ConfigName": "svc_1_caddy_svc_dpl_1_cfg_start_sh"}], "Secrets": [], "Hostname": "dpl-1.main.svc.caddy.ptah.local", "Placement": {"Constraints": ["node.labels.sh.ptah.node.id==1"]}, "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 -16 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_ptah_server_wkr_main", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "php artisan config:cache && php artisan migrate --no-interaction --verbose --ansi --force", "ConfigName": "svc_2_ptah_ptah_server_wkr_main_dpl_2_rel_cmd", "ConfigLabels": {"sh.ptah.kind": "release-command", "sh.ptah.cookie": "0wAnHl03qtWEKUkpdEl1NQp7mBeKLWlq", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 2}}, "Name": "svc_2_ptah_ptah_server_wkr_main", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "0wAnHl03qtWEKUkpdEl1NQp7mBeKLWlq", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["ptah-server.server.ptah.local", "dpl-2.main.ptah-server.server.ptah.local"]}], "ContainerSpec": {"Env": ["APP_ENV=production", "APP_KEY=base64:APP_KEY", "BCRYPT_ROUNDS=12", "DB_CONNECTION=pgsql", "DB_HOST=pool.server.ptah.local", "DB_DATABASE=ptah_sh", "DB_USERNAME=ptah_sh", "DB_PASSWORD=ptah_sh", "LOG_CHANNEL=errorlog", "APP_URL=localhost", "BILLING_ENABLED=false", "VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428", "PTAH_INTERNAL_DOMAIN=ptah-server.server.ptah.local", "PTAH_HOSTNAME=dpl-2.main.ptah-server.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=ptah-server", "PTAH_WORKER_NAME=main"], "Args": null, "Hosts": ["ptah-server.server.ptah.local"], "Image": "ghcr.io/ptah-sh/ptah-server:latest", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "0wAnHl03qtWEKUkpdEl1NQp7mBeKLWlq", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [], "Command": null, "Configs": [], "Secrets": [], "Hostname": "dpl-2.main.ptah-server.server.ptah.local", "Placement": [], "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 -18 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_ptah_server_wkr_queue", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_ptah_server_wkr_queue", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "xE9pMCA3xvx3kkLvw0tcgaGYXVbpXSFp", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "queue", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["queue.ptah-server.server.ptah.local", "dpl-2.queue.ptah-server.server.ptah.local"]}], "ContainerSpec": {"Env": ["APP_ENV=production", "APP_KEY=base64:APP_KEY", "BCRYPT_ROUNDS=12", "DB_CONNECTION=pgsql", "DB_HOST=pool.server.ptah.local", "DB_DATABASE=ptah_sh", "DB_USERNAME=ptah_sh", "DB_PASSWORD=ptah_sh", "LOG_CHANNEL=errorlog", "APP_URL=localhost", "BILLING_ENABLED=false", "VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428", "PTAH_INTERNAL_DOMAIN=queue.ptah-server.server.ptah.local", "PTAH_HOSTNAME=dpl-2.queue.ptah-server.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=ptah-server", "PTAH_WORKER_NAME=queue"], "Args": ["-c", "php artisan config:cache && php artisan queue:work"], "Hosts": ["queue.ptah-server.server.ptah.local"], "Image": "ghcr.io/ptah-sh/ptah-server:latest", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "xE9pMCA3xvx3kkLvw0tcgaGYXVbpXSFp", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "queue", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [], "Command": ["sh"], "Configs": [], "Secrets": [], "Hostname": "dpl-2.queue.ptah-server.server.ptah.local", "Placement": [], "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 +17 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_ptah_server_wkr_scheduler", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_ptah_server_wkr_scheduler", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "Rgtw4WHsUaayuTr3FegkkwhvhowjRnSq", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "scheduler", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["scheduler.ptah-server.server.ptah.local", "dpl-2.scheduler.ptah-server.server.ptah.local"]}], "ContainerSpec": {"Env": ["APP_ENV=production", "APP_KEY=base64:APP_KEY", "BCRYPT_ROUNDS=12", "DB_CONNECTION=pgsql", "DB_HOST=pool.server.ptah.local", "DB_DATABASE=ptah_sh", "DB_USERNAME=ptah_sh", "DB_PASSWORD=ptah_sh", "LOG_CHANNEL=errorlog", "APP_URL=localhost", "BILLING_ENABLED=false", "VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428", "PTAH_INTERNAL_DOMAIN=scheduler.ptah-server.server.ptah.local", "PTAH_HOSTNAME=dpl-2.scheduler.ptah-server.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=ptah-server", "PTAH_WORKER_NAME=scheduler"], "Args": ["-c", "APP_SCHEDULER=main php artisan config:cache && php artisan schedule:work"], "Hosts": ["scheduler.ptah-server.server.ptah.local"], "Image": "ghcr.io/ptah-sh/ptah-server:latest", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "Rgtw4WHsUaayuTr3FegkkwhvhowjRnSq", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "scheduler", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [], "Command": ["sh"], "Configs": [], "Secrets": [], "Hostname": "dpl-2.scheduler.ptah-server.server.ptah.local", "Placement": [], "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 +7 1 2 21 {"serviceId": 1, "dockerName": "caddy", "serviceName": "caddy", "deploymentId": 1} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "caddy", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "cXuvWCfu87xJBDK47hb0InHPkgZXY2hh", "sh.ptah.managed": "1", "sh.ptah.service.id": "1", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "svc", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}, "EndpointSpec": {"Ports": [{"Protocol": "tcp", "TargetPort": 80, "PublishMode": "ingress", "PublishedPort": 80}, {"Protocol": "tcp", "TargetPort": 443, "PublishMode": "ingress", "PublishedPort": 443}, {"Protocol": "tcp", "TargetPort": 2019, "PublishMode": "ingress", "PublishedPort": 2019}]}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["svc.caddy.ptah.local", "dpl-1.main.svc.caddy.ptah.local"]}], "ContainerSpec": {"Env": ["CADDY_ADMIN=0.0.0.0:2019", "PTAH_INTERNAL_DOMAIN=svc.caddy.ptah.local", "PTAH_HOSTNAME=dpl-1.main.svc.caddy.ptah.local", "PTAH_DEPLOYMENT_ID=1", "PTAH_SERVICE_ID=caddy_happy_ptah_1", "PTAH_PROCESS_NAME=svc", "PTAH_WORKER_NAME=main"], "Args": ["-c", "sh /start.sh"], "Hosts": ["svc.caddy.ptah.local"], "Image": "ghcr.io/ptah-sh/ptah-caddy:latest", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "cXuvWCfu87xJBDK47hb0InHPkgZXY2hh", "sh.ptah.managed": "1", "sh.ptah.service.id": "1", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "svc", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}, "Mounts": [{"Type": "volume", "Source": "svc_1_caddy_svc_data", "Target": "/data", "VolumeOptions": {"Labels": {"sh.ptah.managed": "1", "sh.ptah.volume.id": "volume-a1b2c3d4e5f", "sh.ptah.service.id": "1", "sh.ptah.volume.path": "/data", "sh.ptah.process.name": "svc", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}}}, {"Type": "volume", "Source": "svc_1_caddy_svc_config", "Target": "/config", "VolumeOptions": {"Labels": {"sh.ptah.managed": "1", "sh.ptah.volume.id": "volume-g6h7i8j9k1", "sh.ptah.service.id": "1", "sh.ptah.volume.path": "/config", "sh.ptah.process.name": "svc", "sh.ptah.service.slug": "caddy_happy_ptah_1", "sh.ptah.deployment.id": "1"}}}], "Command": ["sh"], "Configs": [{"File": {"GID": "0", "UID": "0", "Mode": 511, "Name": "/ptah/caddy/tls/.keep"}, "ConfigName": "svc_1_caddy_svc_dpl_1_cfg_ptah_caddy_tls_keep"}, {"File": {"GID": "0", "UID": "0", "Mode": 511, "Name": "/start.sh"}, "ConfigName": "svc_1_caddy_svc_dpl_1_cfg_start_sh"}], "Secrets": [], "Hostname": "dpl-1.main.svc.caddy.ptah.local", "Placement": {"Constraints": ["node.labels.sh.ptah.node.id==1"]}, "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 +16 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_ptah_server_wkr_main", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "php artisan config:cache && php artisan migrate --no-interaction --verbose --ansi --force", "ConfigName": "svc_2_ptah_ptah_server_wkr_main_dpl_2_rel_cmd", "ConfigLabels": {"sh.ptah.kind": "release-command", "sh.ptah.cookie": "TRgbR81XNKVPB1YeoNwLp6PtUj3DWIcb", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 2}}, "Name": "svc_2_ptah_ptah_server_wkr_main", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "TRgbR81XNKVPB1YeoNwLp6PtUj3DWIcb", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["ptah-server.server.ptah.local", "dpl-2.main.ptah-server.server.ptah.local"]}], "ContainerSpec": {"Env": ["APP_ENV=production", "APP_KEY=base64:APP_KEY", "BCRYPT_ROUNDS=12", "DB_CONNECTION=pgsql", "DB_HOST=pool.server.ptah.local", "DB_DATABASE=ptah_sh", "DB_USERNAME=ptah_sh", "DB_PASSWORD=ptah_sh", "LOG_CHANNEL=errorlog", "APP_URL=localhost", "BILLING_ENABLED=false", "VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428", "PTAH_INTERNAL_DOMAIN=ptah-server.server.ptah.local", "PTAH_HOSTNAME=dpl-2.main.ptah-server.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=ptah-server", "PTAH_WORKER_NAME=main"], "Args": null, "Hosts": ["ptah-server.server.ptah.local"], "Image": "ghcr.io/ptah-sh/ptah-server:latest", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "TRgbR81XNKVPB1YeoNwLp6PtUj3DWIcb", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [], "Command": null, "Configs": [], "Secrets": [], "Hostname": "dpl-2.main.ptah-server.server.ptah.local", "Placement": [], "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 +18 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_ptah_server_wkr_queue", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_ptah_server_wkr_queue", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "pEtGuaLnaswUfHNFlwklf3PLM9V280Cl", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "queue", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["queue.ptah-server.server.ptah.local", "dpl-2.queue.ptah-server.server.ptah.local"]}], "ContainerSpec": {"Env": ["APP_ENV=production", "APP_KEY=base64:APP_KEY", "BCRYPT_ROUNDS=12", "DB_CONNECTION=pgsql", "DB_HOST=pool.server.ptah.local", "DB_DATABASE=ptah_sh", "DB_USERNAME=ptah_sh", "DB_PASSWORD=ptah_sh", "LOG_CHANNEL=errorlog", "APP_URL=localhost", "BILLING_ENABLED=false", "VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428", "PTAH_INTERNAL_DOMAIN=queue.ptah-server.server.ptah.local", "PTAH_HOSTNAME=dpl-2.queue.ptah-server.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=ptah-server", "PTAH_WORKER_NAME=queue"], "Args": ["-c", "php artisan config:cache && php artisan queue:work"], "Hosts": ["queue.ptah-server.server.ptah.local"], "Image": "ghcr.io/ptah-sh/ptah-server:latest", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "pEtGuaLnaswUfHNFlwklf3PLM9V280Cl", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "queue", "sh.ptah.process.name": "ptah-server", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [], "Command": ["sh"], "Configs": [], "Secrets": [], "Hostname": "dpl-2.queue.ptah-server.server.ptah.local", "Placement": [], "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 8 1 2 5 {"deploymentId": 1} {"caddy": {"apps": {"http": {"servers": {"http": {"listen": ["0.0.0.0:80"], "routes": [{"match": [{"host": ["*"], "path": ["/*"]}], "handle": [{"handler": "ptah_observer", "rule_id": "ptah_404", "process_id": "ptah_404", "service_id": "ptah_404"}, {"body": "\\n\\n
\\nThe requested URL was not found on this server.
\\n\\nPlease contact the server administrator if you believe this is an error.
\\n\\n Return to the Home Page\\nPowered by ptah.sh
\\n\\n", "handler": "static_response", "headers": {"Content-Type": ["text/html; charset=utf-8"], "X-Powered-By": ["https://ptah.sh"]}, "status_code": "404"}]}]}, "https": {"listen": ["0.0.0.0:443"], "routes": [{"match": [{"host": ["*"], "path": ["/*"]}], "handle": [{"handler": "ptah_observer", "rule_id": "ptah_404", "process_id": "ptah_404", "service_id": "ptah_404"}, {"body": "\\n\\n\\nThe requested URL was not found on this server.
\\n\\nPlease contact the server administrator if you believe this is an error.
\\n\\n Return to the Home Page\\nPowered by ptah.sh
\\n\\n", "handler": "static_response", "headers": {"Content-Type": ["text/html; charset=utf-8"], "X-Powered-By": ["https://ptah.sh"]}, "status_code": "404"}]}]}}}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 -12 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_pool_wkr_main", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_pool_wkr_main", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "DE7CiJiNSngaH6H4UkrxpTstrRuGmbFt", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "pool", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["pool.server.ptah.local", "dpl-2.main.pool.server.ptah.local"]}], "ContainerSpec": {"Env": ["PGBOUNCER_POOL_MODE=session", "POSTGRESQL_USERNAME=ptah_sh", "POSTGRESQL_PASSWORD=ptah_sh", "POSTGRESQL_DATABASE=ptah_sh", "POSTGRESQL_HOST=pg.server.ptah.local", "PGBOUNCER_PORT=5432", "PGBOUNCER_DATABASE=ptah_sh", "PTAH_INTERNAL_DOMAIN=pool.server.ptah.local", "PTAH_HOSTNAME=dpl-2.main.pool.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=pool", "PTAH_WORKER_NAME=main"], "Args": null, "Hosts": ["pool.server.ptah.local"], "Image": "bitnami/pgbouncer", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "DE7CiJiNSngaH6H4UkrxpTstrRuGmbFt", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "pool", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [], "Command": null, "Configs": [], "Secrets": [], "Hostname": "dpl-2.main.pool.server.ptah.local", "Placement": [], "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 -14 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_victoriametrics_wkr_main", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_victoriametrics_wkr_main", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "K2g0TKl10LfU3YKtpoHbpujFb6Fhx7Gg", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "victoriametrics", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["victoriametrics.server.ptah.local", "dpl-2.main.victoriametrics.server.ptah.local"]}], "ContainerSpec": {"Env": ["PTAH_INTERNAL_DOMAIN=victoriametrics.server.ptah.local", "PTAH_HOSTNAME=dpl-2.main.victoriametrics.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=victoriametrics", "PTAH_WORKER_NAME=main"], "Args": null, "Hosts": ["victoriametrics.server.ptah.local"], "Image": "victoriametrics/victoria-metrics", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "K2g0TKl10LfU3YKtpoHbpujFb6Fhx7Gg", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "victoriametrics", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [{"Type": "volume", "Source": "svc_2_ptah_victoriametrics_data", "Target": "/victoria-metrics-data", "VolumeOptions": {"Labels": {"sh.ptah.managed": "1", "sh.ptah.volume.id": "volume-q7r8s9t0a1", "sh.ptah.service.id": "2", "sh.ptah.volume.path": "/victoria-metrics-data", "sh.ptah.process.name": "victoriametrics", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}}}], "Command": null, "Configs": [], "Secrets": [], "Hostname": "dpl-2.main.victoriametrics.server.ptah.local", "Placement": {"Constraints": ["node.labels.sh.ptah.node.id==1"]}, "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 +12 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_pool_wkr_main", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_pool_wkr_main", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "vJ1kOajCBhbJpBIhd2teeaj7BtCzS9TI", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "pool", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["pool.server.ptah.local", "dpl-2.main.pool.server.ptah.local"]}], "ContainerSpec": {"Env": ["PGBOUNCER_POOL_MODE=session", "POSTGRESQL_USERNAME=ptah_sh", "POSTGRESQL_PASSWORD=ptah_sh", "POSTGRESQL_DATABASE=ptah_sh", "POSTGRESQL_HOST=pg.server.ptah.local", "PGBOUNCER_PORT=5432", "PGBOUNCER_DATABASE=ptah_sh", "PTAH_INTERNAL_DOMAIN=pool.server.ptah.local", "PTAH_HOSTNAME=dpl-2.main.pool.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=pool", "PTAH_WORKER_NAME=main"], "Args": null, "Hosts": ["pool.server.ptah.local"], "Image": "bitnami/pgbouncer", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "vJ1kOajCBhbJpBIhd2teeaj7BtCzS9TI", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "pool", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [], "Command": null, "Configs": [], "Secrets": [], "Hostname": "dpl-2.main.pool.server.ptah.local", "Placement": [], "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 +14 1 3 21 {"serviceId": 2, "dockerName": "svc_2_ptah_victoriametrics_wkr_main", "serviceName": "ptah", "deploymentId": 2} {"SecretVars": {}, "ReleaseCommand": {"Command": "", "ConfigName": "", "ConfigLabels": {}}, "SwarmServiceSpec": {"Mode": {"Replicated": {"Replicas": 1}}, "Name": "svc_2_ptah_victoriametrics_wkr_main", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "3TYj1HR1yIzuDcTHshnB41C2t6aSN8NV", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "victoriametrics", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "EndpointSpec": {"Ports": []}, "TaskTemplate": {"Networks": [{"Target": "ptah_net", "Aliases": ["victoriametrics.server.ptah.local", "dpl-2.main.victoriametrics.server.ptah.local"]}], "ContainerSpec": {"Env": ["PTAH_INTERNAL_DOMAIN=victoriametrics.server.ptah.local", "PTAH_HOSTNAME=dpl-2.main.victoriametrics.server.ptah.local", "PTAH_DEPLOYMENT_ID=2", "PTAH_SERVICE_ID=ptah_happy_ptah_2", "PTAH_PROCESS_NAME=victoriametrics", "PTAH_WORKER_NAME=main"], "Args": null, "Hosts": ["victoriametrics.server.ptah.local"], "Image": "victoriametrics/victoria-metrics", "Labels": {"sh.ptah.kind": "worker", "sh.ptah.cookie": "3TYj1HR1yIzuDcTHshnB41C2t6aSN8NV", "sh.ptah.managed": "1", "sh.ptah.service.id": "2", "sh.ptah.worker.name": "main", "sh.ptah.process.name": "victoriametrics", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}, "Mounts": [{"Type": "volume", "Source": "svc_2_ptah_victoriametrics_data", "Target": "/victoria-metrics-data", "VolumeOptions": {"Labels": {"sh.ptah.managed": "1", "sh.ptah.volume.id": "volume-q7r8s9t0a1", "sh.ptah.service.id": "2", "sh.ptah.volume.path": "/victoria-metrics-data", "sh.ptah.process.name": "victoriametrics", "sh.ptah.service.slug": "ptah_happy_ptah_2", "sh.ptah.deployment.id": "2"}}}], "Command": null, "Configs": [], "Secrets": [], "Hostname": "dpl-2.main.victoriametrics.server.ptah.local", "Placement": {"Constraints": ["node.labels.sh.ptah.node.id==1"]}, "HealthCheck": null}, "RestartPolicy": {"Condition": "any"}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 19 1 3 5 {"deploymentId": 2} {"caddy": {"apps": {"http": {"servers": {"http": {"listen": ["0.0.0.0:80"], "routes": [{"group": "svc_2_ptah_ptah_server", "match": [{"host": ["ptah.localhost"], "path": ["/*"]}], "handle": [{"handler": "ptah_observer", "rule_id": "caddy-b2c3d4e5f6", "process_id": "ptah-server", "service_id": "2"}, {"handler": "reverse_proxy", "headers": {"request": {"set": {"X-Forwarded-Host": ["ptah.localhost"], "X-Forwarded-Port": ["80"], "X-Forwarded-Proto": ["http"], "X-Forwarded-Schema": ["http"]}}, "response": {"set": {"X-Powered-By": ["https://ptah.sh"], "X-Ptah-Rule-Id": ["caddy-b2c3d4e5f6"]}}}, "transport": {"protocol": "http"}, "upstreams": [{"dial": "ptah-server.server.ptah.local:8080"}]}]}, {"match": [{"host": ["*"], "path": ["/*"]}], "handle": [{"handler": "ptah_observer", "rule_id": "ptah_404", "process_id": "ptah_404", "service_id": "ptah_404"}, {"body": "\\n\\n\\nThe requested URL was not found on this server.
\\n\\nPlease contact the server administrator if you believe this is an error.
\\n\\n Return to the Home Page\\nPowered by ptah.sh
\\n\\n", "handler": "static_response", "headers": {"Content-Type": ["text/html; charset=utf-8"], "X-Powered-By": ["https://ptah.sh"]}, "status_code": "404"}]}]}, "https": {"listen": ["0.0.0.0:443"], "routes": [{"match": [{"host": ["*"], "path": ["/*"]}], "handle": [{"handler": "ptah_observer", "rule_id": "ptah_404", "process_id": "ptah_404", "service_id": "ptah_404"}, {"body": "\\n\\n\\nThe requested URL was not found on this server.
\\n\\nPlease contact the server administrator if you believe this is an error.
\\n\\n Return to the Home Page\\nPowered by ptah.sh
\\n\\n", "handler": "static_response", "headers": {"Content-Type": ["text/html; charset=utf-8"], "X-Powered-By": ["https://ptah.sh"]}, "status_code": "404"}]}]}}}}}} completed 2024-09-01 00:00:00 2024-09-01 00:00:00 [] 2024-09-01 00:00:00 2024-09-01 00:00:00 \. diff --git a/scripts/self-hosted/install-server.sh b/scripts/self-hosted/install-server.sh index 86cca17..b10d306 100755 --- a/scripts/self-hosted/install-server.sh +++ b/scripts/self-hosted/install-server.sh @@ -144,12 +144,6 @@ choose_ip_address() { header "$prompt" echo "$help_text" - if [ ${#ip_array[@]} -eq 0 ]; then - echo "$(red "No IP addresses found.")" - echo "$(red "Please check your network configuration.")" - exit 1 - fi - if [ ${#ip_array[@]} -eq 1 ]; then local chosen_ip="${ip_array[0]}" echo -e "$(green "Only one IP address available:") $(cyan "$chosen_ip")\n" @@ -162,7 +156,7 @@ choose_ip_address() { echo "$(gray "(Enter the number of your choice)")" while true; do - read -r -p "$(green ">") " choice + read -p "$(green ">") " choice if [[ "$choice" =~ ^[0-9]+$ ]] && [ "$choice" -ge 1 ] && [ "$choice" -le "${#ip_array[@]}" ]; then local chosen_ip="${ip_array[$((choice-1))]}" echo -e "\n$(green "You selected:") $(cyan "$chosen_ip")\n" @@ -220,7 +214,7 @@ get_user_credentials() { echo -e "\n$(green "Credentials saved successfully.")" } -IP_LIST="$(/tmp/ptah-agent list-ips | tr -d '\n')" +IP_LIST=$(/tmp/ptah-agent list-ips) choose_ip_address "$IP_LIST" "Advertised IP addresses" "ADVERTISE_ADDR" "$ADVERTISED_IP_HELP" choose_ip_address "$IP_LIST" "Public IP address" "PUBLIC_IP" "$PUBLIC_IP_HELP" diff --git a/scripts/self-hosted/tasks.json b/scripts/self-hosted/tasks.json index 7da2cf9..f139db1 100644 --- a/scripts/self-hosted/tasks.json +++ b/scripts/self-hosted/tasks.json @@ -32,7 +32,7 @@ { "id": 7, "type": 21, - "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"caddy\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"WZDwhfuN6utr9maLF6ilG9Qm2z1nOTNa\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"1\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"svc\", \"sh.ptah.service.slug\": \"caddy_happy_ptah_1\", \"sh.ptah.deployment.id\": \"1\"}, \"EndpointSpec\": {\"Ports\": [{\"Protocol\": \"tcp\", \"TargetPort\": 80, \"PublishMode\": \"ingress\", \"PublishedPort\": 80}, {\"Protocol\": \"tcp\", \"TargetPort\": 443, \"PublishMode\": \"ingress\", \"PublishedPort\": 443}, {\"Protocol\": \"tcp\", \"TargetPort\": 2019, \"PublishMode\": \"ingress\", \"PublishedPort\": 2019}]}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"svc.caddy.ptah.local\", \"dpl-1.main.svc.caddy.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"CADDY_ADMIN=0.0.0.0:2019\", \"PTAH_INTERNAL_DOMAIN=svc.caddy.ptah.local\", \"PTAH_HOSTNAME=dpl-1.main.svc.caddy.ptah.local\", \"PTAH_DEPLOYMENT_ID=1\", \"PTAH_SERVICE_ID=caddy_happy_ptah_1\", \"PTAH_PROCESS_NAME=svc\", \"PTAH_WORKER_NAME=main\"], \"Args\": [\"-c\", \"sh /start.sh\"], \"Hosts\": [\"svc.caddy.ptah.local\"], \"Image\": \"ghcr.io/ptah-sh/ptah-caddy:latest\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"WZDwhfuN6utr9maLF6ilG9Qm2z1nOTNa\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"1\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"svc\", \"sh.ptah.service.slug\": \"caddy_happy_ptah_1\", \"sh.ptah.deployment.id\": \"1\"}, \"Mounts\": [{\"Type\": \"volume\", \"Source\": \"svc_1_caddy_svc_data\", \"Target\": \"/data\", \"VolumeOptions\": {\"Labels\": {\"sh.ptah.managed\": \"1\", \"sh.ptah.volume.id\": \"volume-a1b2c3d4e5f\", \"sh.ptah.service.id\": \"1\", \"sh.ptah.volume.path\": \"/data\", \"sh.ptah.process.name\": \"svc\", \"sh.ptah.service.slug\": \"caddy_happy_ptah_1\", \"sh.ptah.deployment.id\": \"1\"}}}, {\"Type\": \"volume\", \"Source\": \"svc_1_caddy_svc_config\", \"Target\": \"/config\", \"VolumeOptions\": {\"Labels\": {\"sh.ptah.managed\": \"1\", \"sh.ptah.volume.id\": \"volume-g6h7i8j9k1\", \"sh.ptah.service.id\": \"1\", \"sh.ptah.volume.path\": \"/config\", \"sh.ptah.process.name\": \"svc\", \"sh.ptah.service.slug\": \"caddy_happy_ptah_1\", \"sh.ptah.deployment.id\": \"1\"}}}], \"Command\": [\"sh\"], \"Configs\": [{\"File\": {\"GID\": \"0\", \"UID\": \"0\", \"Mode\": 511, \"Name\": \"/ptah/caddy/tls/.keep\"}, \"ConfigName\": \"svc_1_caddy_svc_dpl_1_cfg_ptah_caddy_tls_keep\"}, {\"File\": {\"GID\": \"0\", \"UID\": \"0\", \"Mode\": 511, \"Name\": \"/start.sh\"}, \"ConfigName\": \"svc_1_caddy_svc_dpl_1_cfg_start_sh\"}], \"Secrets\": [], \"Hostname\": \"dpl-1.main.svc.caddy.ptah.local\", \"Placement\": {\"Constraints\": [\"node.labels.sh.ptah.node.id==1\"]}, \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" + "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"caddy\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"cXuvWCfu87xJBDK47hb0InHPkgZXY2hh\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"1\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"svc\", \"sh.ptah.service.slug\": \"caddy_happy_ptah_1\", \"sh.ptah.deployment.id\": \"1\"}, \"EndpointSpec\": {\"Ports\": [{\"Protocol\": \"tcp\", \"TargetPort\": 80, \"PublishMode\": \"ingress\", \"PublishedPort\": 80}, {\"Protocol\": \"tcp\", \"TargetPort\": 443, \"PublishMode\": \"ingress\", \"PublishedPort\": 443}, {\"Protocol\": \"tcp\", \"TargetPort\": 2019, \"PublishMode\": \"ingress\", \"PublishedPort\": 2019}]}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"svc.caddy.ptah.local\", \"dpl-1.main.svc.caddy.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"CADDY_ADMIN=0.0.0.0:2019\", \"PTAH_INTERNAL_DOMAIN=svc.caddy.ptah.local\", \"PTAH_HOSTNAME=dpl-1.main.svc.caddy.ptah.local\", \"PTAH_DEPLOYMENT_ID=1\", \"PTAH_SERVICE_ID=caddy_happy_ptah_1\", \"PTAH_PROCESS_NAME=svc\", \"PTAH_WORKER_NAME=main\"], \"Args\": [\"-c\", \"sh /start.sh\"], \"Hosts\": [\"svc.caddy.ptah.local\"], \"Image\": \"ghcr.io/ptah-sh/ptah-caddy:latest\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"cXuvWCfu87xJBDK47hb0InHPkgZXY2hh\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"1\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"svc\", \"sh.ptah.service.slug\": \"caddy_happy_ptah_1\", \"sh.ptah.deployment.id\": \"1\"}, \"Mounts\": [{\"Type\": \"volume\", \"Source\": \"svc_1_caddy_svc_data\", \"Target\": \"/data\", \"VolumeOptions\": {\"Labels\": {\"sh.ptah.managed\": \"1\", \"sh.ptah.volume.id\": \"volume-a1b2c3d4e5f\", \"sh.ptah.service.id\": \"1\", \"sh.ptah.volume.path\": \"/data\", \"sh.ptah.process.name\": \"svc\", \"sh.ptah.service.slug\": \"caddy_happy_ptah_1\", \"sh.ptah.deployment.id\": \"1\"}}}, {\"Type\": \"volume\", \"Source\": \"svc_1_caddy_svc_config\", \"Target\": \"/config\", \"VolumeOptions\": {\"Labels\": {\"sh.ptah.managed\": \"1\", \"sh.ptah.volume.id\": \"volume-g6h7i8j9k1\", \"sh.ptah.service.id\": \"1\", \"sh.ptah.volume.path\": \"/config\", \"sh.ptah.process.name\": \"svc\", \"sh.ptah.service.slug\": \"caddy_happy_ptah_1\", \"sh.ptah.deployment.id\": \"1\"}}}], \"Command\": [\"sh\"], \"Configs\": [{\"File\": {\"GID\": \"0\", \"UID\": \"0\", \"Mode\": 511, \"Name\": \"/ptah/caddy/tls/.keep\"}, \"ConfigName\": \"svc_1_caddy_svc_dpl_1_cfg_ptah_caddy_tls_keep\"}, {\"File\": {\"GID\": \"0\", \"UID\": \"0\", \"Mode\": 511, \"Name\": \"/start.sh\"}, \"ConfigName\": \"svc_1_caddy_svc_dpl_1_cfg_start_sh\"}], \"Secrets\": [], \"Hostname\": \"dpl-1.main.svc.caddy.ptah.local\", \"Placement\": {\"Constraints\": [\"node.labels.sh.ptah.node.id==1\"]}, \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" }, { "id": 8, @@ -47,7 +47,7 @@ { "id": 10, "type": 21, - "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_pg_wkr_main\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"nxWJKPeaDItqZjsZ8JUiVWVndFJeZ8O9\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"pg\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"pg.server.ptah.local\", \"dpl-2.main.pg.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"POSTGRESQL_USERNAME=ptah_sh\", \"POSTGRESQL_PASSWORD=ptah_sh\", \"POSTGRESQL_DATABASE=ptah_sh\", \"PTAH_INTERNAL_DOMAIN=pg.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.main.pg.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=pg\", \"PTAH_WORKER_NAME=main\"], \"Args\": null, \"Hosts\": [\"pg.server.ptah.local\"], \"Image\": \"bitnami/postgresql:16\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"nxWJKPeaDItqZjsZ8JUiVWVndFJeZ8O9\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"pg\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [{\"Type\": \"volume\", \"Source\": \"svc_2_ptah_pg_data\", \"Target\": \"/bitnami/postgresql\", \"VolumeOptions\": {\"Labels\": {\"sh.ptah.managed\": \"1\", \"sh.ptah.volume.id\": \"volume-l2m3n4o5p6\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.volume.path\": \"/bitnami/postgresql\", \"sh.ptah.process.name\": \"pg\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}}}], \"Command\": null, \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.main.pg.server.ptah.local\", \"Placement\": {\"Constraints\": [\"node.labels.sh.ptah.node.id==1\"]}, \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" + "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_pg_wkr_main\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"mJS06c1XYmj5dt5D8Uv7OH2y2aMkc5dU\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"pg\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"pg.server.ptah.local\", \"dpl-2.main.pg.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"POSTGRESQL_USERNAME=ptah_sh\", \"POSTGRESQL_PASSWORD=ptah_sh\", \"POSTGRESQL_DATABASE=ptah_sh\", \"PTAH_INTERNAL_DOMAIN=pg.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.main.pg.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=pg\", \"PTAH_WORKER_NAME=main\"], \"Args\": null, \"Hosts\": [\"pg.server.ptah.local\"], \"Image\": \"bitnami/postgresql:16\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"mJS06c1XYmj5dt5D8Uv7OH2y2aMkc5dU\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"pg\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [{\"Type\": \"volume\", \"Source\": \"svc_2_ptah_pg_data\", \"Target\": \"/bitnami/postgresql\", \"VolumeOptions\": {\"Labels\": {\"sh.ptah.managed\": \"1\", \"sh.ptah.volume.id\": \"volume-l2m3n4o5p6\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.volume.path\": \"/bitnami/postgresql\", \"sh.ptah.process.name\": \"pg\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}}}], \"Command\": null, \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.main.pg.server.ptah.local\", \"Placement\": {\"Constraints\": [\"node.labels.sh.ptah.node.id==1\"]}, \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" }, { "id": 11, @@ -57,7 +57,7 @@ { "id": 12, "type": 21, - "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_pool_wkr_main\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"DE7CiJiNSngaH6H4UkrxpTstrRuGmbFt\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"pool\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"pool.server.ptah.local\", \"dpl-2.main.pool.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"PGBOUNCER_POOL_MODE=session\", \"POSTGRESQL_USERNAME=ptah_sh\", \"POSTGRESQL_PASSWORD=ptah_sh\", \"POSTGRESQL_DATABASE=ptah_sh\", \"POSTGRESQL_HOST=pg.server.ptah.local\", \"PGBOUNCER_PORT=5432\", \"PGBOUNCER_DATABASE=ptah_sh\", \"PTAH_INTERNAL_DOMAIN=pool.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.main.pool.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=pool\", \"PTAH_WORKER_NAME=main\"], \"Args\": null, \"Hosts\": [\"pool.server.ptah.local\"], \"Image\": \"bitnami/pgbouncer\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"DE7CiJiNSngaH6H4UkrxpTstrRuGmbFt\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"pool\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [], \"Command\": null, \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.main.pool.server.ptah.local\", \"Placement\": [], \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" + "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_pool_wkr_main\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"vJ1kOajCBhbJpBIhd2teeaj7BtCzS9TI\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"pool\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"pool.server.ptah.local\", \"dpl-2.main.pool.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"PGBOUNCER_POOL_MODE=session\", \"POSTGRESQL_USERNAME=ptah_sh\", \"POSTGRESQL_PASSWORD=ptah_sh\", \"POSTGRESQL_DATABASE=ptah_sh\", \"POSTGRESQL_HOST=pg.server.ptah.local\", \"PGBOUNCER_PORT=5432\", \"PGBOUNCER_DATABASE=ptah_sh\", \"PTAH_INTERNAL_DOMAIN=pool.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.main.pool.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=pool\", \"PTAH_WORKER_NAME=main\"], \"Args\": null, \"Hosts\": [\"pool.server.ptah.local\"], \"Image\": \"bitnami/pgbouncer\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"vJ1kOajCBhbJpBIhd2teeaj7BtCzS9TI\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"pool\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [], \"Command\": null, \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.main.pool.server.ptah.local\", \"Placement\": [], \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" }, { "id": 13, @@ -67,7 +67,7 @@ { "id": 14, "type": 21, - "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_victoriametrics_wkr_main\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"K2g0TKl10LfU3YKtpoHbpujFb6Fhx7Gg\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"victoriametrics\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"victoriametrics.server.ptah.local\", \"dpl-2.main.victoriametrics.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"PTAH_INTERNAL_DOMAIN=victoriametrics.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.main.victoriametrics.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=victoriametrics\", \"PTAH_WORKER_NAME=main\"], \"Args\": null, \"Hosts\": [\"victoriametrics.server.ptah.local\"], \"Image\": \"victoriametrics/victoria-metrics\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"K2g0TKl10LfU3YKtpoHbpujFb6Fhx7Gg\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"victoriametrics\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [{\"Type\": \"volume\", \"Source\": \"svc_2_ptah_victoriametrics_data\", \"Target\": \"/victoria-metrics-data\", \"VolumeOptions\": {\"Labels\": {\"sh.ptah.managed\": \"1\", \"sh.ptah.volume.id\": \"volume-q7r8s9t0a1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.volume.path\": \"/victoria-metrics-data\", \"sh.ptah.process.name\": \"victoriametrics\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}}}], \"Command\": null, \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.main.victoriametrics.server.ptah.local\", \"Placement\": {\"Constraints\": [\"node.labels.sh.ptah.node.id==1\"]}, \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" + "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_victoriametrics_wkr_main\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"3TYj1HR1yIzuDcTHshnB41C2t6aSN8NV\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"victoriametrics\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"victoriametrics.server.ptah.local\", \"dpl-2.main.victoriametrics.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"PTAH_INTERNAL_DOMAIN=victoriametrics.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.main.victoriametrics.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=victoriametrics\", \"PTAH_WORKER_NAME=main\"], \"Args\": null, \"Hosts\": [\"victoriametrics.server.ptah.local\"], \"Image\": \"victoriametrics/victoria-metrics\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"3TYj1HR1yIzuDcTHshnB41C2t6aSN8NV\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"victoriametrics\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [{\"Type\": \"volume\", \"Source\": \"svc_2_ptah_victoriametrics_data\", \"Target\": \"/victoria-metrics-data\", \"VolumeOptions\": {\"Labels\": {\"sh.ptah.managed\": \"1\", \"sh.ptah.volume.id\": \"volume-q7r8s9t0a1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.volume.path\": \"/victoria-metrics-data\", \"sh.ptah.process.name\": \"victoriametrics\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}}}], \"Command\": null, \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.main.victoriametrics.server.ptah.local\", \"Placement\": {\"Constraints\": [\"node.labels.sh.ptah.node.id==1\"]}, \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" }, { "id": 15, @@ -77,17 +77,17 @@ { "id": 16, "type": 21, - "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"php artisan config:cache && php artisan migrate --no-interaction --verbose --ansi --force\", \"ConfigName\": \"svc_2_ptah_ptah_server_wkr_main_dpl_2_rel_cmd\", \"ConfigLabels\": {\"sh.ptah.kind\": \"release-command\", \"sh.ptah.cookie\": \"0wAnHl03qtWEKUkpdEl1NQp7mBeKLWlq\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 2}}, \"Name\": \"svc_2_ptah_ptah_server_wkr_main\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"0wAnHl03qtWEKUkpdEl1NQp7mBeKLWlq\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"ptah-server.server.ptah.local\", \"dpl-2.main.ptah-server.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"APP_ENV=production\", \"APP_KEY=base64:APP_KEY\", \"BCRYPT_ROUNDS=12\", \"DB_CONNECTION=pgsql\", \"DB_HOST=pool.server.ptah.local\", \"DB_DATABASE=ptah_sh\", \"DB_USERNAME=ptah_sh\", \"DB_PASSWORD=ptah_sh\", \"LOG_CHANNEL=errorlog\", \"APP_URL=localhost\", \"BILLING_ENABLED=false\", \"VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428\", \"PTAH_INTERNAL_DOMAIN=ptah-server.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.main.ptah-server.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=ptah-server\", \"PTAH_WORKER_NAME=main\"], \"Args\": null, \"Hosts\": [\"ptah-server.server.ptah.local\"], \"Image\": \"ghcr.io/ptah-sh/ptah-server:latest\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"0wAnHl03qtWEKUkpdEl1NQp7mBeKLWlq\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [], \"Command\": null, \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.main.ptah-server.server.ptah.local\", \"Placement\": [], \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" + "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"php artisan config:cache && php artisan migrate --no-interaction --verbose --ansi --force\", \"ConfigName\": \"svc_2_ptah_ptah_server_wkr_main_dpl_2_rel_cmd\", \"ConfigLabels\": {\"sh.ptah.kind\": \"release-command\", \"sh.ptah.cookie\": \"TRgbR81XNKVPB1YeoNwLp6PtUj3DWIcb\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 2}}, \"Name\": \"svc_2_ptah_ptah_server_wkr_main\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"TRgbR81XNKVPB1YeoNwLp6PtUj3DWIcb\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"ptah-server.server.ptah.local\", \"dpl-2.main.ptah-server.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"APP_ENV=production\", \"APP_KEY=base64:APP_KEY\", \"BCRYPT_ROUNDS=12\", \"DB_CONNECTION=pgsql\", \"DB_HOST=pool.server.ptah.local\", \"DB_DATABASE=ptah_sh\", \"DB_USERNAME=ptah_sh\", \"DB_PASSWORD=ptah_sh\", \"LOG_CHANNEL=errorlog\", \"APP_URL=localhost\", \"BILLING_ENABLED=false\", \"VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428\", \"PTAH_INTERNAL_DOMAIN=ptah-server.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.main.ptah-server.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=ptah-server\", \"PTAH_WORKER_NAME=main\"], \"Args\": null, \"Hosts\": [\"ptah-server.server.ptah.local\"], \"Image\": \"ghcr.io/ptah-sh/ptah-server:latest\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"TRgbR81XNKVPB1YeoNwLp6PtUj3DWIcb\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"main\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [], \"Command\": null, \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.main.ptah-server.server.ptah.local\", \"Placement\": [], \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" }, { "id": 17, "type": 21, - "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_ptah_server_wkr_scheduler\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"i7jQkLXq04lmYPK1t9PhVWgsbdGAKBYo\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"scheduler\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"scheduler.ptah-server.server.ptah.local\", \"dpl-2.scheduler.ptah-server.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"APP_ENV=production\", \"APP_KEY=base64:APP_KEY\", \"BCRYPT_ROUNDS=12\", \"DB_CONNECTION=pgsql\", \"DB_HOST=pool.server.ptah.local\", \"DB_DATABASE=ptah_sh\", \"DB_USERNAME=ptah_sh\", \"DB_PASSWORD=ptah_sh\", \"LOG_CHANNEL=errorlog\", \"APP_URL=localhost\", \"BILLING_ENABLED=false\", \"VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428\", \"PTAH_INTERNAL_DOMAIN=scheduler.ptah-server.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.scheduler.ptah-server.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=ptah-server\", \"PTAH_WORKER_NAME=scheduler\"], \"Args\": [\"-c\", \"APP_SCHEDULER=main php artisan config:cache && php artisan schedule:work\"], \"Hosts\": [\"scheduler.ptah-server.server.ptah.local\"], \"Image\": \"ghcr.io/ptah-sh/ptah-server:latest\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"i7jQkLXq04lmYPK1t9PhVWgsbdGAKBYo\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"scheduler\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [], \"Command\": [\"sh\"], \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.scheduler.ptah-server.server.ptah.local\", \"Placement\": [], \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" + "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_ptah_server_wkr_scheduler\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"Rgtw4WHsUaayuTr3FegkkwhvhowjRnSq\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"scheduler\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"scheduler.ptah-server.server.ptah.local\", \"dpl-2.scheduler.ptah-server.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"APP_ENV=production\", \"APP_KEY=base64:APP_KEY\", \"BCRYPT_ROUNDS=12\", \"DB_CONNECTION=pgsql\", \"DB_HOST=pool.server.ptah.local\", \"DB_DATABASE=ptah_sh\", \"DB_USERNAME=ptah_sh\", \"DB_PASSWORD=ptah_sh\", \"LOG_CHANNEL=errorlog\", \"APP_URL=localhost\", \"BILLING_ENABLED=false\", \"VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428\", \"PTAH_INTERNAL_DOMAIN=scheduler.ptah-server.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.scheduler.ptah-server.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=ptah-server\", \"PTAH_WORKER_NAME=scheduler\"], \"Args\": [\"-c\", \"APP_SCHEDULER=main php artisan config:cache && php artisan schedule:work\"], \"Hosts\": [\"scheduler.ptah-server.server.ptah.local\"], \"Image\": \"ghcr.io/ptah-sh/ptah-server:latest\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"Rgtw4WHsUaayuTr3FegkkwhvhowjRnSq\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"scheduler\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [], \"Command\": [\"sh\"], \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.scheduler.ptah-server.server.ptah.local\", \"Placement\": [], \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" }, { "id": 18, "type": 21, - "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_ptah_server_wkr_queue\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"xE9pMCA3xvx3kkLvw0tcgaGYXVbpXSFp\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"queue\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"queue.ptah-server.server.ptah.local\", \"dpl-2.queue.ptah-server.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"APP_ENV=production\", \"APP_KEY=base64:APP_KEY\", \"BCRYPT_ROUNDS=12\", \"DB_CONNECTION=pgsql\", \"DB_HOST=pool.server.ptah.local\", \"DB_DATABASE=ptah_sh\", \"DB_USERNAME=ptah_sh\", \"DB_PASSWORD=ptah_sh\", \"LOG_CHANNEL=errorlog\", \"APP_URL=localhost\", \"BILLING_ENABLED=false\", \"VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428\", \"PTAH_INTERNAL_DOMAIN=queue.ptah-server.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.queue.ptah-server.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=ptah-server\", \"PTAH_WORKER_NAME=queue\"], \"Args\": [\"-c\", \"php artisan config:cache && php artisan queue:work\"], \"Hosts\": [\"queue.ptah-server.server.ptah.local\"], \"Image\": \"ghcr.io/ptah-sh/ptah-server:latest\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"xE9pMCA3xvx3kkLvw0tcgaGYXVbpXSFp\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"queue\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [], \"Command\": [\"sh\"], \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.queue.ptah-server.server.ptah.local\", \"Placement\": [], \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" + "payload": "{\"SecretVars\": {}, \"ReleaseCommand\": {\"Command\": \"\", \"ConfigName\": \"\", \"ConfigLabels\": {}}, \"SwarmServiceSpec\": {\"Mode\": {\"Replicated\": {\"Replicas\": 1}}, \"Name\": \"svc_2_ptah_ptah_server_wkr_queue\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"pEtGuaLnaswUfHNFlwklf3PLM9V280Cl\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"queue\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"EndpointSpec\": {\"Ports\": []}, \"TaskTemplate\": {\"Networks\": [{\"Target\": \"ptah_net\", \"Aliases\": [\"queue.ptah-server.server.ptah.local\", \"dpl-2.queue.ptah-server.server.ptah.local\"]}], \"ContainerSpec\": {\"Env\": [\"APP_ENV=production\", \"APP_KEY=base64:APP_KEY\", \"BCRYPT_ROUNDS=12\", \"DB_CONNECTION=pgsql\", \"DB_HOST=pool.server.ptah.local\", \"DB_DATABASE=ptah_sh\", \"DB_USERNAME=ptah_sh\", \"DB_PASSWORD=ptah_sh\", \"LOG_CHANNEL=errorlog\", \"APP_URL=localhost\", \"BILLING_ENABLED=false\", \"VICTORIAMETRICS_URL=http://victoriametrics.server.ptah.local:8428\", \"PTAH_INTERNAL_DOMAIN=queue.ptah-server.server.ptah.local\", \"PTAH_HOSTNAME=dpl-2.queue.ptah-server.server.ptah.local\", \"PTAH_DEPLOYMENT_ID=2\", \"PTAH_SERVICE_ID=ptah_happy_ptah_2\", \"PTAH_PROCESS_NAME=ptah-server\", \"PTAH_WORKER_NAME=queue\"], \"Args\": [\"-c\", \"php artisan config:cache && php artisan queue:work\"], \"Hosts\": [\"queue.ptah-server.server.ptah.local\"], \"Image\": \"ghcr.io/ptah-sh/ptah-server:latest\", \"Labels\": {\"sh.ptah.kind\": \"worker\", \"sh.ptah.cookie\": \"pEtGuaLnaswUfHNFlwklf3PLM9V280Cl\", \"sh.ptah.managed\": \"1\", \"sh.ptah.service.id\": \"2\", \"sh.ptah.worker.name\": \"queue\", \"sh.ptah.process.name\": \"ptah-server\", \"sh.ptah.service.slug\": \"ptah_happy_ptah_2\", \"sh.ptah.deployment.id\": \"2\"}, \"Mounts\": [], \"Command\": [\"sh\"], \"Configs\": [], \"Secrets\": [], \"Hostname\": \"dpl-2.queue.ptah-server.server.ptah.local\", \"Placement\": [], \"HealthCheck\": null}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" }, { "id": 19,