{
  "manifest_version": "1.0.0",
  "template": {
    "id": "92381ff7-70ea-4dbe-b3dc-e21ba18494fa",
    "slug": "run-automatisch",
    "name": "Automatisch",
    "description": "No-code visual workflow builder that connects your apps and automates tasks",
    "url": "https://railway.com/deploy/run-automatisch",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/automatisch-railway"
    }
  },
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "automatisch-worker",
      "source": {
        "repo": "https://github.com/gridalpha/automatisch-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "automatisch",
      "source": {
        "repo": "https://github.com/gridalpha/automatisch-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "mailpit",
      "source": {
        "image": "axllent/mailpit:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "HOST",
      "service": "automatisch-worker",
      "description": "Public hostname of the app",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "automatisch-worker",
      "description": "Port for the worker health endpoint",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "WORKER",
      "service": "automatisch-worker",
      "description": "Selects the queue worker role",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "API_URL",
      "service": "automatisch-worker",
      "description": "Public API base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APP_ENV",
      "service": "automatisch-worker",
      "description": "Application environment",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "PROTOCOL",
      "service": "automatisch-worker",
      "description": "Scheme used in generated URLs",
      "secret": false,
      "strategy": "default",
      "default": "https"
    },
    {
      "key": "SMTP_HOST",
      "service": "automatisch-worker",
      "description": "Outbound mail host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SMTP_PORT",
      "service": "automatisch-worker",
      "description": "Mailpit plain SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "FROM_EMAIL",
      "service": "automatisch-worker",
      "description": "Sender address for app mail",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REDIS_HOST",
      "service": "automatisch-worker",
      "description": "Private Redis hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "automatisch-worker",
      "description": "Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "SMTP_SECURE",
      "service": "automatisch-worker",
      "description": "Plain listener advertises no TLS",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "WEBHOOK_URL",
      "service": "automatisch-worker",
      "description": "Base URL for per-flow webhooks",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "WEB_APP_URL",
      "service": "automatisch-worker",
      "description": "Public web app URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "automatisch-worker",
      "description": "Private Postgres hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "automatisch-worker",
      "description": "Postgres port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "APP_SECRET_KEY",
      "service": "automatisch-worker",
      "description": "Must match the app exactly",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENCRYPTION_KEY",
      "service": "automatisch-worker",
      "description": "Must match the app exactly",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "automatisch-worker",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_USERNAME",
      "service": "automatisch-worker",
      "description": "Redis username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DATABASE",
      "service": "automatisch-worker",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "automatisch-worker",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USERNAME",
      "service": "automatisch-worker",
      "description": "Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TELEMETRY_ENABLED",
      "service": "automatisch-worker",
      "description": "Disables upstream usage reporting",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "WEBHOOK_SECRET_KEY",
      "service": "automatisch-worker",
      "description": "Must match the app exactly",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_ENABLE_SSL",
      "service": "automatisch-worker",
      "description": "Private network needs no TLS",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "automatisch-worker",
      "description": "Startup window",
      "secret": false,
      "strategy": "default",
      "default": "600"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "automatisch-worker",
      "description": "Lets an in-flight job finish",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "key": "HOST",
      "service": "automatisch",
      "description": "Public hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "automatisch",
      "description": "HTTP port the web server binds",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "API_URL",
      "service": "automatisch",
      "description": "Public API base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APP_ENV",
      "service": "automatisch",
      "description": "Application environment",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "PROTOCOL",
      "service": "automatisch",
      "description": "Scheme used in generated URLs",
      "secret": false,
      "strategy": "default",
      "default": "https"
    },
    {
      "key": "SMTP_HOST",
      "service": "automatisch",
      "description": "Outbound mail host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SMTP_PORT",
      "service": "automatisch",
      "description": "Mailpit plain SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "FROM_EMAIL",
      "service": "automatisch",
      "description": "Sender address for app mail",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REDIS_HOST",
      "service": "automatisch",
      "description": "Private Redis hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "automatisch",
      "description": "Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "automatisch",
      "description": "Email of the first administrator",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "SMTP_SECURE",
      "service": "automatisch",
      "description": "Plain listener advertises no TLS",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "WEBHOOK_URL",
      "service": "automatisch",
      "description": "Base URL for per-flow webhooks",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "WEB_APP_URL",
      "service": "automatisch",
      "description": "Public web app URL and CORS origin",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "automatisch",
      "description": "Private Postgres hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "automatisch",
      "description": "Postgres port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "automatisch",
      "description": "Password of the first administrator",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "APP_SECRET_KEY",
      "service": "automatisch",
      "description": "Application signing key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENCRYPTION_KEY",
      "service": "automatisch",
      "description": "Encrypts stored app credentials",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "automatisch",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_USERNAME",
      "service": "automatisch",
      "description": "Redis username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ADMIN_FULL_NAME",
      "service": "automatisch",
      "description": "Display name of the first administrator",
      "secret": false,
      "strategy": "default",
      "default": "Admin"
    },
    {
      "key": "POSTGRES_DATABASE",
      "service": "automatisch",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "automatisch",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USERNAME",
      "service": "automatisch",
      "description": "Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TELEMETRY_ENABLED",
      "service": "automatisch",
      "description": "Disables upstream usage reporting",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "WEBHOOK_SECRET_KEY",
      "service": "automatisch",
      "description": "Signs per-flow webhook URLs",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "POSTGRES_ENABLE_SSL",
      "service": "automatisch",
      "description": "Private network needs no TLS",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ENABLE_BULLMQ_DASHBOARD",
      "service": "automatisch",
      "description": "Serves the queue dashboard at /admin/queues",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "BULLMQ_DASHBOARD_PASSWORD",
      "service": "automatisch",
      "description": "Queue dashboard basic-auth password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "BULLMQ_DASHBOARD_USERNAME",
      "service": "automatisch",
      "description": "Queue dashboard basic-auth user",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "automatisch",
      "description": "First-boot migration window",
      "secret": false,
      "strategy": "default",
      "default": "600"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "automatisch",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "15"
    },
    {
      "key": "PORT",
      "service": "mailpit",
      "description": "Web inbox port Railway probes",
      "secret": false,
      "strategy": "default",
      "default": "8025"
    },
    {
      "key": "MP_UI_AUTH",
      "service": "mailpit",
      "description": "Basic auth on the web inbox",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MP_DATABASE",
      "service": "mailpit",
      "description": "Message store on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/data/mailpit.db"
    },
    {
      "key": "MP_MAX_MESSAGES",
      "service": "mailpit",
      "description": "Messages retained before rotation",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "MP_UI_BIND_ADDR",
      "service": "mailpit",
      "description": "Dual-stack bind for the web inbox",
      "secret": false,
      "strategy": "default",
      "default": "[::]:8025"
    },
    {
      "key": "MP_SMTP_BIND_ADDR",
      "service": "mailpit",
      "description": "Dual-stack bind for private SMTP",
      "secret": false,
      "strategy": "default",
      "default": "[::]:1025"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auth password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "run-automatisch"
      }
    },
    "cli": "railway deploy --template run-automatisch",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "92381ff7-70ea-4dbe-b3dc-e21ba18494fa",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1176033f-e357-4d73-a38b-b5dce66cd1ae": {
                  "icon": "https://cdn.simpleicons.org/postgresql/4169E1.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password, read by the server",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "1176033f-e357-4d73-a38b-b5dce66cd1ae": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "632d7a37-43e0-49eb-883e-4d34ee3e8266": {
                  "icon": "https://automatisch.io/android-chrome-192x192.png",
                  "name": "automatisch-worker",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/automatisch-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": false,
                      "description": "Public hostname of the app",
                      "defaultValue": "${{automatisch.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port for the worker health endpoint",
                      "defaultValue": "3000"
                    },
                    "WORKER": {
                      "isOptional": false,
                      "description": "Selects the queue worker role",
                      "defaultValue": "true"
                    },
                    "API_URL": {
                      "isOptional": false,
                      "description": "Public API base URL",
                      "defaultValue": "https://${{automatisch.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "Application environment",
                      "defaultValue": "production"
                    },
                    "PROTOCOL": {
                      "isOptional": false,
                      "description": "Scheme used in generated URLs",
                      "defaultValue": "https"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "Outbound mail host",
                      "defaultValue": "${{mailpit.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "Mailpit plain SMTP port",
                      "defaultValue": "1025"
                    },
                    "FROM_EMAIL": {
                      "isOptional": false,
                      "description": "Sender address for app mail",
                      "defaultValue": "automatisch@${{automatisch.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private Redis hostname",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "6379"
                    },
                    "SMTP_SECURE": {
                      "isOptional": false,
                      "description": "Plain listener advertises no TLS",
                      "defaultValue": "false"
                    },
                    "WEBHOOK_URL": {
                      "isOptional": false,
                      "description": "Base URL for per-flow webhooks",
                      "defaultValue": "https://${{automatisch.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "WEB_APP_URL": {
                      "isOptional": false,
                      "description": "Public web app URL",
                      "defaultValue": "https://${{automatisch.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "Private Postgres hostname",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "5432"
                    },
                    "APP_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Must match the app exactly",
                      "defaultValue": "${{automatisch.APP_SECRET_KEY}}"
                    },
                    "ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Must match the app exactly",
                      "defaultValue": "${{automatisch.ENCRYPTION_KEY}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    },
                    "REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis username",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "POSTGRES_DATABASE": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "POSTGRES_USERNAME": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "TELEMETRY_ENABLED": {
                      "isOptional": false,
                      "description": "Disables upstream usage reporting",
                      "defaultValue": "false"
                    },
                    "WEBHOOK_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Must match the app exactly",
                      "defaultValue": "${{automatisch.WEBHOOK_SECRET_KEY}}"
                    },
                    "POSTGRES_ENABLE_SSL": {
                      "isOptional": false,
                      "description": "Private network needs no TLS",
                      "defaultValue": "false"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "Startup window",
                      "defaultValue": "600"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Lets an in-flight job finish",
                      "defaultValue": "30"
                    }
                  }
                },
                "92c2de0e-c3f5-49e1-a2e3-f1957ebf8c78": {
                  "icon": "https://automatisch.io/android-chrome-192x192.png",
                  "name": "automatisch",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthcheck",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/automatisch-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": false,
                      "description": "Public hostname",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port the web server binds",
                      "defaultValue": "3000"
                    },
                    "API_URL": {
                      "isOptional": false,
                      "description": "Public API base URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "Application environment",
                      "defaultValue": "production"
                    },
                    "PROTOCOL": {
                      "isOptional": false,
                      "description": "Scheme used in generated URLs",
                      "defaultValue": "https"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "Outbound mail host",
                      "defaultValue": "${{mailpit.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "Mailpit plain SMTP port",
                      "defaultValue": "1025"
                    },
                    "FROM_EMAIL": {
                      "isOptional": false,
                      "description": "Sender address for app mail",
                      "defaultValue": "automatisch@${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private Redis hostname",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "6379"
                    },
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email of the first administrator",
                      "defaultValue": "admin@example.com"
                    },
                    "SMTP_SECURE": {
                      "isOptional": false,
                      "description": "Plain listener advertises no TLS",
                      "defaultValue": "false"
                    },
                    "WEBHOOK_URL": {
                      "isOptional": false,
                      "description": "Base URL for per-flow webhooks",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "WEB_APP_URL": {
                      "isOptional": false,
                      "description": "Public web app URL and CORS origin",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "Private Postgres hostname",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "5432"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password of the first administrator",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "APP_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Application signing key",
                      "defaultValue": "{{APP_SECRET_KEY}}"
                    },
                    "ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored app credentials",
                      "defaultValue": "{{ENCRYPTION_KEY}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    },
                    "REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis username",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "ADMIN_FULL_NAME": {
                      "isOptional": true,
                      "description": "Display name of the first administrator",
                      "defaultValue": "Admin"
                    },
                    "POSTGRES_DATABASE": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "POSTGRES_USERNAME": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "TELEMETRY_ENABLED": {
                      "isOptional": false,
                      "description": "Disables upstream usage reporting",
                      "defaultValue": "false"
                    },
                    "WEBHOOK_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Signs per-flow webhook URLs",
                      "defaultValue": "{{WEBHOOK_SECRET_KEY}}"
                    },
                    "POSTGRES_ENABLE_SSL": {
                      "isOptional": false,
                      "description": "Private network needs no TLS",
                      "defaultValue": "false"
                    },
                    "ENABLE_BULLMQ_DASHBOARD": {
                      "isOptional": false,
                      "description": "Serves the queue dashboard at /admin/queues",
                      "defaultValue": "true"
                    },
                    "BULLMQ_DASHBOARD_PASSWORD": {
                      "isOptional": false,
                      "description": "Queue dashboard basic-auth password",
                      "defaultValue": "{{BULLMQ_DASHBOARD_PASSWORD}}"
                    },
                    "BULLMQ_DASHBOARD_USERNAME": {
                      "isOptional": false,
                      "description": "Queue dashboard basic-auth user",
                      "defaultValue": "admin"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "First-boot migration window",
                      "defaultValue": "600"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "15"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                },
                "b1eca64a-75e4-4cc3-863f-9e998d8c202d": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mailpit.svg",
                  "name": "mailpit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/livez",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "axllent/mailpit:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Web inbox port Railway probes",
                      "defaultValue": "8025"
                    },
                    "MP_UI_AUTH": {
                      "isOptional": false,
                      "description": "Basic auth on the web inbox",
                      "defaultValue": "{{MP_UI_AUTH}}"
                    },
                    "MP_DATABASE": {
                      "isOptional": false,
                      "description": "Message store on the volume",
                      "defaultValue": "/data/mailpit.db"
                    },
                    "MP_MAX_MESSAGES": {
                      "isOptional": false,
                      "description": "Messages retained before rotation",
                      "defaultValue": "5000"
                    },
                    "MP_UI_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Dual-stack bind for the web inbox",
                      "defaultValue": "[::]:8025"
                    },
                    "MP_SMTP_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Dual-stack bind for private SMTP",
                      "defaultValue": "[::]:1025"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8025": {
                        "port": 8025
                      }
                    }
                  },
                  "volumeMounts": {
                    "b1eca64a-75e4-4cc3-863f-9e998d8c202d": {
                      "mountPath": "/data"
                    }
                  }
                },
                "e87e0a1a-5698-44fd-814c-8484c632fdce": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/redis.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth password, read by the server",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "e87e0a1a-5698-44fd-814c-8484c632fdce": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "automatisch",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-05T08:31:10.308Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_79a641439989453392c0",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 207,
    "typical_build_seconds": 81,
    "typical_start_seconds": 22,
    "slowest_service": "automatisch-worker"
  }
}
