{
  "manifest_version": "1.0.0",
  "template": {
    "id": "42b3877a-ca9d-426b-9bca-136ddb3bc873",
    "slug": "kestra-or-just-updated-workflow-orchestr",
    "name": "Kestra | (Just Updated) Workflow Orchestration, Shell and Python Tasks Work",
    "description": "Kestra workflow engine. Login set at deploy, data on volumes, healthcheck",
    "url": "https://railway.com/deploy/kestra-or-just-updated-workflow-orchestr",
    "upstream": {
      "image": "kestra/kestra:v1.3.41@sha256:9f47a6fc9172aa388f40140feebecca3f7efe1df1cbc66467af9b29cf6883059"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "postgres",
      "source": {
        "image": "postgres:17.10-trixie"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": false
    },
    {
      "name": "kestra",
      "source": {
        "image": "kestra/kestra:v1.3.41@sha256:9f47a6fc9172aa388f40140feebecca3f7efe1df1cbc66467af9b29cf6883059"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/storage",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PGHOST",
      "service": "kestra",
      "description": "Provide a value for PGHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPASSWORD",
      "service": "kestra",
      "description": "Provide a value for PGPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_PASSWORD",
      "service": "kestra",
      "description": "Provide a value for KESTRA_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "kestra",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kestra-or-just-updated-workflow-orchestr"
      }
    },
    "cli": "railway deploy --template kestra-or-just-updated-workflow-orchestr",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "42b3877a-ca9d-426b-9bca-136ddb3bc873",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "209423db-2e4a-4bd6-832f-1efd2f5ec848": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:17.10-trixie"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "209423db-2e4a-4bd6-832f-1efd2f5ec848": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                },
                "cf5345d9-3fbd-43ba-b4d9-1af0b8ac430b": {
                  "icon": null,
                  "name": "kestra",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'export KESTRA_CONFIGURATION=\"{datasources: {postgres: {url: \\\"jdbc:postgresql://$PGHOST:5432/postgres\\\", driverClassName: org.postgresql.Driver, username: postgres, password: \\\"$PGPASSWORD\\\"}}, kestra: {server: {basic-auth: {username: \\\"admin@kestra.io\\\", password: \\\"$KESTRA_PASSWORD\\\"}}, queue: {type: postgres}, repository: {type: postgres}, storage: {type: local, local: {basePath: /app/storage}}, plugins: {defaults: [{type: io.kestra.plugin.scripts.shell.Commands, forced: false, values: {taskRunner: {type: io.kestra.plugin.core.runner.Process}}},{type: io.kestra.plugin.scripts.shell.Script, forced: false, values: {taskRunner: {type: io.kestra.plugin.core.runner.Process}}},{type: io.kestra.plugin.scripts.python.Commands, forced: false, values: {taskRunner: {type: io.kestra.plugin.core.runner.Process}}},{type: io.kestra.plugin.scripts.python.Script, forced: false, values: {taskRunner: {type: io.kestra.plugin.core.runner.Process}}}]}}}\"; echo \"[railway] cores=$(nproc) storage=$(test -w /app/storage && echo writable || echo READONLY) uid=$(id -u)\"; exec docker-entrypoint.sh server standalone'",
                    "healthcheckPath": "/ping",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "kestra/kestra:v1.3.41@sha256:9f47a6fc9172aa388f40140feebecca3f7efe1df1cbc66467af9b29cf6883059"
                  },
                  "variables": {
                    "PGHOST": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    },
                    "KESTRA_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{KESTRA_PASSWORD}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "{{RAILWAY_RUN_UID}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "cf5345d9-3fbd-43ba-b4d9-1af0b8ac430b": {
                      "mountPath": "/app/storage"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "kestra",
      "method": "GET",
      "path": "/ping",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0"
}
