diff --git a/scripts/self-hosted/db.sql b/scripts/self-hosted/db.sql index f051146..d17b192 100644 --- a/scripts/self-hosted/db.sql +++ b/scripts/self-hosted/db.sql @@ -1351,15 +1351,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": "klwDcTzlJ91qYmvoF7XaOdbqr5e1gG7a", "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": "klwDcTzlJ91qYmvoF7XaOdbqr5e1gG7a", "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": "cJu4kbqkYvNiOfBG1M5MEaFjRH9XaSW6", "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": "cJu4kbqkYvNiOfBG1M5MEaFjRH9XaSW6", "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 -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": "WROU0VxDrDDpRfPoofiexsTTVYw55dtK", "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": "WROU0VxDrDDpRfPoofiexsTTVYw55dtK", "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 -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": "FBE2XmaV1uO1U1LTjANulLzjZVZkNeLF", "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": "FBE2XmaV1uO1U1LTjANulLzjZVZkNeLF", "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": {"Test": ["CMD-SHELL", "pgrep -f \\"php artisan schedule:work\\""], "Retries": 3, "Timeout": 5000000000, "Interval": 10000000000, "StartPeriod": 30000000000, "StartInterval": 5000000000}}, "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": "2wwLnpdrvL1s1La2DHR7U0LeWKmLysLN", "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": "2wwLnpdrvL1s1La2DHR7U0LeWKmLysLN", "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": "2wwLnpdrvL1s1La2DHR7U0LeWKmLysLN", "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": "XhUfL0GIXnMq6zXaA7vMZq2rhj1m2u28", "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": "XhUfL0GIXnMq6zXaA7vMZq2rhj1m2u28", "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": {"Test": ["CMD-SHELL", "pgrep -f \\"php artisan queue:work\\""], "Retries": 3, "Timeout": 5000000000, "Interval": 10000000000, "StartPeriod": 30000000000, "StartInterval": 5000000000}}, "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": "vnDbO3zzxAxiYkQGx5x3BzNXKKlr1KMr", "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": "vnDbO3zzxAxiYkQGx5x3BzNXKKlr1KMr", "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 +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": "FVoM0B3ttjNK3o6qmOYERFQ9pqo9lOH4", "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": "FVoM0B3ttjNK3o6qmOYERFQ9pqo9lOH4", "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": {"Test": ["CMD-SHELL", "pgrep -f \\"php artisan schedule:work\\""], "Retries": 3, "Timeout": 5000000000, "Interval": 10000000000, "StartPeriod": 30000000000, "StartInterval": 5000000000}}, "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": "gtxmIKeMKiRWJAB0H5GilnfCmdQqkcbC", "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": "gtxmIKeMKiRWJAB0H5GilnfCmdQqkcbC", "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": "gtxmIKeMKiRWJAB0H5GilnfCmdQqkcbC", "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": "CLH1lLSaFzB54MxvL4uapuPjLSsBxCy2", "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": "CLH1lLSaFzB54MxvL4uapuPjLSsBxCy2", "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": {"Test": ["CMD-SHELL", "pgrep -f \\"php artisan queue:work\\""], "Retries": 3, "Timeout": 5000000000, "Interval": 10000000000, "StartPeriod": 30000000000, "StartInterval": 5000000000}}, "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\\n 404 Not Found\\n \\n\\n \\n\\n\\n
\\n

404 Not Found

\\n

The requested URL was not found on this server.

\\n\\n

Please contact the server administrator if you believe this is an error.

\\n\\n Return to the Home Page\\n
\\n\\n

Powered 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\\n 404 Not Found\\n \\n\\n \\n\\n\\n
\\n

404 Not Found

\\n

The requested URL was not found on this server.

\\n\\n

Please contact the server administrator if you believe this is an error.

\\n\\n Return to the Home Page\\n
\\n\\n

Powered 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": "XJXo3S20pLm54OWkH4UKhgTuCSdP1bPH", "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": "XJXo3S20pLm54OWkH4UKhgTuCSdP1bPH", "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": "LW66nPcZksf48Pal9V4FAcdelG5nQRet", "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": "LW66nPcZksf48Pal9V4FAcdelG5nQRet", "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": "UVA5iU8QVvlU6Ki8byt8nayKPzWByeYl", "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": "UVA5iU8QVvlU6Ki8byt8nayKPzWByeYl", "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": "TuyjFE8eRiPPMXVr6zP3Q8QpEYvXy29n", "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": "TuyjFE8eRiPPMXVr6zP3Q8QpEYvXy29n", "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\\n 404 Not Found\\n \\n\\n \\n\\n\\n
\\n

404 Not Found

\\n

The requested URL was not found on this server.

\\n\\n

Please contact the server administrator if you believe this is an error.

\\n\\n Return to the Home Page\\n
\\n\\n

Powered 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\\n 404 Not Found\\n \\n\\n \\n\\n\\n
\\n

404 Not Found

\\n

The requested URL was not found on this server.

\\n\\n

Please contact the server administrator if you believe this is an error.

\\n\\n Return to the Home Page\\n
\\n\\n

Powered 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/tasks.json b/scripts/self-hosted/tasks.json index 4d51848..6f92f95 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\": \"WROU0VxDrDDpRfPoofiexsTTVYw55dtK\", \"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\": \"WROU0VxDrDDpRfPoofiexsTTVYw55dtK\", \"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\": \"vnDbO3zzxAxiYkQGx5x3BzNXKKlr1KMr\", \"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\": \"vnDbO3zzxAxiYkQGx5x3BzNXKKlr1KMr\", \"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\": \"klwDcTzlJ91qYmvoF7XaOdbqr5e1gG7a\", \"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\": \"klwDcTzlJ91qYmvoF7XaOdbqr5e1gG7a\", \"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\": \"cJu4kbqkYvNiOfBG1M5MEaFjRH9XaSW6\", \"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\": \"cJu4kbqkYvNiOfBG1M5MEaFjRH9XaSW6\", \"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\": \"XJXo3S20pLm54OWkH4UKhgTuCSdP1bPH\", \"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\": \"XJXo3S20pLm54OWkH4UKhgTuCSdP1bPH\", \"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\": \"UVA5iU8QVvlU6Ki8byt8nayKPzWByeYl\", \"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\": \"UVA5iU8QVvlU6Ki8byt8nayKPzWByeYl\", \"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\": \"LW66nPcZksf48Pal9V4FAcdelG5nQRet\", \"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\": \"LW66nPcZksf48Pal9V4FAcdelG5nQRet\", \"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\": \"TuyjFE8eRiPPMXVr6zP3Q8QpEYvXy29n\", \"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\": \"TuyjFE8eRiPPMXVr6zP3Q8QpEYvXy29n\", \"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\": \"2wwLnpdrvL1s1La2DHR7U0LeWKmLysLN\", \"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\": \"2wwLnpdrvL1s1La2DHR7U0LeWKmLysLN\", \"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\": \"2wwLnpdrvL1s1La2DHR7U0LeWKmLysLN\", \"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\": \"gtxmIKeMKiRWJAB0H5GilnfCmdQqkcbC\", \"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\": \"gtxmIKeMKiRWJAB0H5GilnfCmdQqkcbC\", \"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\": \"gtxmIKeMKiRWJAB0H5GilnfCmdQqkcbC\", \"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\": \"FBE2XmaV1uO1U1LTjANulLzjZVZkNeLF\", \"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\": \"FBE2XmaV1uO1U1LTjANulLzjZVZkNeLF\", \"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\": {\"Test\": [\"CMD-SHELL\", \"pgrep -f \\\"php artisan schedule:work\\\"\"], \"Retries\": 3, \"Timeout\": 5000000000, \"Interval\": 10000000000, \"StartPeriod\": 30000000000, \"StartInterval\": 5000000000}}, \"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\": \"FVoM0B3ttjNK3o6qmOYERFQ9pqo9lOH4\", \"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\": \"FVoM0B3ttjNK3o6qmOYERFQ9pqo9lOH4\", \"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\": {\"Test\": [\"CMD-SHELL\", \"pgrep -f \\\"php artisan schedule:work\\\"\"], \"Retries\": 3, \"Timeout\": 5000000000, \"Interval\": 10000000000, \"StartPeriod\": 30000000000, \"StartInterval\": 5000000000}}, \"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\": \"XhUfL0GIXnMq6zXaA7vMZq2rhj1m2u28\", \"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\": \"XhUfL0GIXnMq6zXaA7vMZq2rhj1m2u28\", \"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\": {\"Test\": [\"CMD-SHELL\", \"pgrep -f \\\"php artisan queue:work\\\"\"], \"Retries\": 3, \"Timeout\": 5000000000, \"Interval\": 10000000000, \"StartPeriod\": 30000000000, \"StartInterval\": 5000000000}}, \"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\": \"CLH1lLSaFzB54MxvL4uapuPjLSsBxCy2\", \"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\": \"CLH1lLSaFzB54MxvL4uapuPjLSsBxCy2\", \"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\": {\"Test\": [\"CMD-SHELL\", \"pgrep -f \\\"php artisan queue:work\\\"\"], \"Retries\": 3, \"Timeout\": 5000000000, \"Interval\": 10000000000, \"StartPeriod\": 30000000000, \"StartInterval\": 5000000000}}, \"RestartPolicy\": {\"Condition\": \"any\"}}}}" }, { "id": 19,