{
  "manifest_version": "1.0.0",
  "template": {
    "id": "aea28abe-f647-4908-8c51-b7cfec7855e3",
    "slug": "helicone-v202508-llm-observability-gatew",
    "name": "Helicone v2025.08 LLM Observability Gateway",
    "description": "Proxy, log and monitor every LLM request. Self-hosted with ClickHouse.",
    "url": "https://railway.com/deploy/helicone-v202508-llm-observability-gatew",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/helicone-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "web",
      "source": {
        "image": "helicone/web:v2025.08.21"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "clickhouse",
      "source": {
        "repo": "https://github.com/baranberkay96/helicone-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/clickhouse",
      "http": false
    },
    {
      "name": "proxy",
      "source": {
        "repo": "https://github.com/baranberkay96/helicone-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "jawn",
      "source": {
        "image": "helicone/jawn:v2025.08.21"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "seaweedfs",
      "source": {
        "repo": "https://github.com/baranberkay96/helicone-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "migrations",
      "source": {
        "repo": "https://github.com/baranberkay96/helicone-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "ENV",
      "service": "web",
      "description": "Environment label (Helm value).",
      "secret": false,
      "strategy": "default",
      "default": "development"
    },
    {
      "key": "PORT",
      "service": "web",
      "description": "Next.js port; Railway healthcheck probes it (/api/hello).",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "DB_SSL",
      "service": "web",
      "description": "Plain connection on the private network.",
      "secret": false,
      "strategy": "default",
      "default": "disable"
    },
    {
      "key": "DB_HOST",
      "service": "web",
      "description": "Postgres host.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_NAME",
      "service": "web",
      "description": "Postgres database (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PORT",
      "service": "web",
      "description": "Postgres port.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "DB_USER",
      "service": "web",
      "description": "Postgres user (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SITE_URL",
      "service": "web",
      "description": "Public dashboard URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_DRIVER",
      "service": "web",
      "description": "Database driver (Helm value).",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SMTP_PORT",
      "service": "web",
      "description": "SMTP port.",
      "secret": false,
      "strategy": "default",
      "default": "587"
    },
    {
      "key": "VERCEL_ENV",
      "service": "web",
      "description": "Must stay development for self-hosting (other values require Supabase TLS certificates).",
      "secret": false,
      "strategy": "default",
      "default": "development"
    },
    {
      "key": "DB_PASSWORD",
      "service": "web",
      "description": "Postgres password (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "web",
      "description": "SeaweedFS S3 endpoint (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SMTP_SECURE",
      "service": "web",
      "description": "true for implicit TLS (port 465).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "DATABASE_URL",
      "service": "web",
      "description": "Postgres (Better Auth and app data).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AZURE_API_KEY",
      "service": "web",
      "description": "Placeholder Helicone's Helm chart sets (Azure helper is unused).",
      "secret": true,
      "strategy": "default",
      "default": "anything"
    },
    {
      "key": "S3_ACCESS_KEY",
      "service": "web",
      "description": "S3 access key (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_SECRET_KEY",
      "service": "web",
      "description": "S3 secret key (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AZURE_BASE_URL",
      "service": "web",
      "description": "Placeholder Helicone's Helm chart sets.",
      "secret": false,
      "strategy": "default",
      "default": "anything"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "web",
      "description": "Placeholder Helicone's Helm chart sets; set a real key only if you want Helicone's own AI helpers. Your apps send their provider keys through the proxy.",
      "secret": true,
      "strategy": "default",
      "default": "sk-"
    },
    {
      "key": "S3_BUCKET_NAME",
      "service": "web",
      "description": "Bucket for request/response bodies.",
      "secret": false,
      "strategy": "default",
      "default": "request-response-storage"
    },
    {
      "key": "BETTER_AUTH_URL",
      "service": "web",
      "description": "Better Auth base URL (must equal the public URL).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLICKHOUSE_HOST",
      "service": "web",
      "description": "ClickHouse HTTP endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "CLICKHOUSE_USER",
      "service": "web",
      "description": "ClickHouse user.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "ENABLE_CRON_JOB",
      "service": "web",
      "description": "Background loops (alerts, reports) - Helm default.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "AZURE_API_VERSION",
      "service": "web",
      "description": "Placeholder Helicone's Helm chart sets.",
      "secret": false,
      "strategy": "default",
      "default": "anything"
    },
    {
      "key": "STRIPE_SECRET_KEY",
      "service": "web",
      "description": "Placeholder only: billing is not used on a self-hosted instance, but the Stripe client is created at start-up and needs a value (Helm/all-in-one images ship a dummy as well).",
      "secret": true,
      "strategy": "default",
      "default": "sk_test_not_used_on_self_hosted"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "web",
      "description": "Signs session tokens. Generated once.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CLICKHOUSE_PASSWORD",
      "service": "web",
      "description": "ClickHouse password (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_APP_URL",
      "service": "web",
      "description": "Public URL of Helicone (the proxy domain). Change it when you add a custom domain to the proxy.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_FORCE_PATH_STYLE",
      "service": "web",
      "description": "SeaweedFS needs path-style requests.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "AZURE_DEPLOYMENT_NAME",
      "service": "web",
      "description": "Placeholder Helicone's Helm chart sets.",
      "secret": false,
      "strategy": "default",
      "default": "anything"
    },
    {
      "key": "NEXT_PUBLIC_BASE_PATH",
      "service": "web",
      "description": "OpenAI-compatible proxy base URL shown in the onboarding snippets.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPABASE_DATABASE_URL",
      "service": "web",
      "description": "Postgres for Helicone's data access layer.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_PROMPT_SECURITY",
      "service": "web",
      "description": "Prompt-injection model service is not deployed (Helm default).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "NEXT_PUBLIC_IS_ON_PREM",
      "service": "web",
      "description": "Self-hosted mode (required off localhost).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NEXT_PUBLIC_BETTER_AUTH",
      "service": "web",
      "description": "Use Better Auth (self-hosted auth) instead of Supabase auth.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NEXT_PUBLIC_API_BASE_PATH",
      "service": "web",
      "description": "Helicone API base shown in the UI snippets.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BETTER_AUTH_TRUSTED_ORIGINS",
      "service": "web",
      "description": "Origins allowed to call the auth endpoints.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_HELICONE_JAWN_SERVICE",
      "service": "web",
      "description": "Jawn URL the browser uses (proxied under /jawn).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "clickhouse",
      "description": "HTTP port; /ping is the healthcheck.",
      "secret": false,
      "strategy": "default",
      "default": "8123"
    },
    {
      "key": "CLICKHOUSE_PASSWORD",
      "service": "clickhouse",
      "description": "Password of the default (admin) user.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "clickhouse",
      "description": "Let ClickHouse flush and stop cleanly.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "proxy",
      "description": "Caddy listen port (public domain target).",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "S3_UPSTREAM",
      "service": "proxy",
      "description": "SeaweedFS S3 (presigned body downloads).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "WEB_UPSTREAM",
      "service": "proxy",
      "description": "Helicone dashboard (Next.js).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "JAWN_UPSTREAM",
      "service": "proxy",
      "description": "Jawn API and LLM proxy.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "HELICONE_ALLOW_SIGNUP",
      "service": "proxy",
      "description": "Set true to let new users sign up on /signup (they get their own organization). The admin account is created by the migrations service.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ENV",
      "service": "jawn",
      "description": "Environment label (Helm value).",
      "secret": false,
      "strategy": "default",
      "default": "development"
    },
    {
      "key": "PORT",
      "service": "jawn",
      "description": "Jawn HTTP port; /healthcheck is the healthcheck.",
      "secret": false,
      "strategy": "default",
      "default": "8585"
    },
    {
      "key": "DB_HOST",
      "service": "jawn",
      "description": "Postgres host.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_NAME",
      "service": "jawn",
      "description": "Postgres database (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PORT",
      "service": "jawn",
      "description": "Postgres port.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "DB_USER",
      "service": "jawn",
      "description": "Postgres user (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "VERCEL_ENV",
      "service": "jawn",
      "description": "Must stay development for self-hosting (other values require Supabase TLS certificates).",
      "secret": false,
      "strategy": "default",
      "default": "development"
    },
    {
      "key": "DB_PASSWORD",
      "service": "jawn",
      "description": "Postgres password (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "jawn",
      "description": "SeaweedFS S3 endpoint for writes (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AZURE_API_KEY",
      "service": "jawn",
      "description": "Placeholder Helicone's Helm chart sets (Azure helper is unused).",
      "secret": true,
      "strategy": "default",
      "default": "anything"
    },
    {
      "key": "S3_ACCESS_KEY",
      "service": "jawn",
      "description": "S3 access key (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_SECRET_KEY",
      "service": "jawn",
      "description": "S3 secret key (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AZURE_BASE_URL",
      "service": "jawn",
      "description": "Placeholder Helicone's Helm chart sets.",
      "secret": false,
      "strategy": "default",
      "default": "anything"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "jawn",
      "description": "Placeholder Helicone's Helm chart sets; set a real key only if you want Helicone's own AI helpers. Your apps send their provider keys through the proxy.",
      "secret": true,
      "strategy": "default",
      "default": "sk-"
    },
    {
      "key": "S3_BUCKET_NAME",
      "service": "jawn",
      "description": "Bucket for request/response bodies.",
      "secret": false,
      "strategy": "default",
      "default": "request-response-storage"
    },
    {
      "key": "BETTER_AUTH_URL",
      "service": "jawn",
      "description": "Better Auth base URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLICKHOUSE_HOST",
      "service": "jawn",
      "description": "ClickHouse HTTP endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "CLICKHOUSE_USER",
      "service": "jawn",
      "description": "ClickHouse user.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "ENABLE_CRON_JOB",
      "service": "jawn",
      "description": "Run Jawn's background loops (alerts, cleanups).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "HQL_STORE_BUCKET",
      "service": "jawn",
      "description": "Bucket for HQL result exports.",
      "secret": false,
      "strategy": "default",
      "default": "hql-store"
    },
    {
      "key": "AZURE_API_VERSION",
      "service": "jawn",
      "description": "Placeholder Helicone's Helm chart sets.",
      "secret": false,
      "strategy": "default",
      "default": "anything"
    },
    {
      "key": "IS_HELICONE_CLOUD",
      "service": "jawn",
      "description": "Self-hosted mode (CORS for the dashboard, no cloud features).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "STRIPE_SECRET_KEY",
      "service": "jawn",
      "description": "Placeholder only: billing is not used on a self-hosted instance, but the Stripe client is created at start-up and needs a value (Helm/all-in-one images ship a dummy as well).",
      "secret": true,
      "strategy": "default",
      "default": "sk_test_not_used_on_self_hosted"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "jawn",
      "description": "Must match web (validates sessions).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT_PUBLIC",
      "service": "jawn",
      "description": "Base for presigned URLs given to browsers; the proxy forwards bucket paths to SeaweedFS.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLICKHOUSE_HQL_USER",
      "service": "jawn",
      "description": "Restricted ClickHouse user for HQL (SQL) queries from the UI.",
      "secret": false,
      "strategy": "default",
      "default": "hql_user"
    },
    {
      "key": "CLICKHOUSE_PASSWORD",
      "service": "jawn",
      "description": "ClickHouse password (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "HELICONE_WORKER_URL",
      "service": "jawn",
      "description": "Jawn's own OpenAI proxy route, used by the playground and experiments (all-in-one image value).",
      "secret": false,
      "strategy": "default",
      "default": "http://localhost:8585/v1/gateway/oai"
    },
    {
      "key": "NEXT_PUBLIC_APP_URL",
      "service": "jawn",
      "description": "Dashboard URL (CORS and links).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AZURE_DEPLOYMENT_NAME",
      "service": "jawn",
      "description": "Placeholder Helicone's Helm chart sets.",
      "secret": false,
      "strategy": "default",
      "default": "anything"
    },
    {
      "key": "S3_PROMPT_BUCKET_NAME",
      "service": "jawn",
      "description": "Bucket for prompt bodies.",
      "secret": false,
      "strategy": "default",
      "default": "prompt-body-storage"
    },
    {
      "key": "SUPABASE_DATABASE_URL",
      "service": "jawn",
      "description": "Postgres connection string.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_PROMPT_SECURITY",
      "service": "jawn",
      "description": "Prompt-security model is not started (Helm default).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "CLICKHOUSE_HQL_PASSWORD",
      "service": "jawn",
      "description": "Password the migrations service assigns to hql_user (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_BETTER_AUTH",
      "service": "jawn",
      "description": "Better Auth mode.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "BETTER_AUTH_TRUSTED_ORIGINS",
      "service": "jawn",
      "description": "Trusted origin for auth calls.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "jawn",
      "description": "Let in-flight proxied LLM calls finish on redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where the database will be initialized",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "helicone"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "User to connect to Postgres DB",
      "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": "Password to connect to DB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "seaweedfs",
      "description": "S3 port; /healthz is the healthcheck.",
      "secret": false,
      "strategy": "default",
      "default": "8333"
    },
    {
      "key": "S3_PORT",
      "service": "seaweedfs",
      "description": "S3 gateway port.",
      "secret": false,
      "strategy": "default",
      "default": "8333"
    },
    {
      "key": "S3_BUCKETS",
      "service": "seaweedfs",
      "description": "Buckets created at start (idempotent).",
      "secret": false,
      "strategy": "default",
      "default": "request-response-storage,prompt-body-storage,hql-store"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "seaweedfs",
      "description": "S3 access key (admin identity).",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "seaweedfs",
      "description": "S3 secret key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "seaweedfs",
      "description": "Clean shutdown on redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "key": "FLYWAY_URL",
      "service": "migrations",
      "description": "JDBC URL for Flyway (Helm chart format).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "FLYWAY_USER",
      "service": "migrations",
      "description": "Postgres user (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "migrations",
      "description": "Postgres connection string for the admin bootstrap.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLICKHOUSE_HOST",
      "service": "migrations",
      "description": "ClickHouse HTTP endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "CLICKHOUSE_USER",
      "service": "migrations",
      "description": "ClickHouse user.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "FLYWAY_PASSWORD",
      "service": "migrations",
      "description": "Postgres password (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "HELICONE_ORG_NAME",
      "service": "migrations",
      "description": "Name of the admin's organization.",
      "secret": false,
      "strategy": "default",
      "default": "My Organization"
    },
    {
      "key": "CLICKHOUSE_PASSWORD",
      "service": "migrations",
      "description": "ClickHouse password (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "HELICONE_ADMIN_NAME",
      "service": "migrations",
      "description": "Display name of the first admin.",
      "secret": false,
      "strategy": "default",
      "default": "Admin"
    },
    {
      "key": "HELICONE_ADMIN_EMAIL",
      "service": "migrations",
      "description": "Email of the first admin account (created once, email pre-verified).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CLICKHOUSE_HQL_PASSWORD",
      "service": "migrations",
      "description": "Password set on the restricted hql_user (Helicone's migrations create it without one).",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "HELICONE_ADMIN_PASSWORD",
      "service": "migrations",
      "description": "Password of the first admin account. Generated; read it here and change it after first login.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "helicone-v202508-llm-observability-gatew"
      }
    },
    "cli": "railway deploy --template helicone-v202508-llm-observability-gatew",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "aea28abe-f647-4908-8c51-b7cfec7855e3",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "06a7687d-1e74-5389-9757-7a0750991532": {
                  "icon": "https://cdn.jsdelivr.net/gh/Helicone/helicone@main/docs/favicon.svg",
                  "name": "web",
                  "deploy": {
                    "healthcheckPath": "/api/hello",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 1200
                  },
                  "source": {
                    "image": "helicone/web:v2025.08.21"
                  },
                  "variables": {
                    "ENV": {
                      "isOptional": true,
                      "description": "Environment label (Helm value).",
                      "defaultValue": "development"
                    },
                    "PORT": {
                      "isOptional": true,
                      "description": "Next.js port; Railway healthcheck probes it (/api/hello).",
                      "defaultValue": "3000"
                    },
                    "DB_SSL": {
                      "isOptional": true,
                      "description": "Plain connection on the private network.",
                      "defaultValue": "disable"
                    },
                    "DB_HOST": {
                      "isOptional": true,
                      "description": "Postgres host.",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_NAME": {
                      "isOptional": true,
                      "description": "Postgres database (reference).",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "DB_PORT": {
                      "isOptional": true,
                      "description": "Postgres port.",
                      "defaultValue": "5432"
                    },
                    "DB_USER": {
                      "isOptional": true,
                      "description": "Postgres user (reference).",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "SITE_URL": {
                      "isOptional": true,
                      "description": "Public dashboard URL.",
                      "defaultValue": "${{NEXT_PUBLIC_APP_URL}}"
                    },
                    "DB_DRIVER": {
                      "isOptional": true,
                      "description": "Database driver (Helm value).",
                      "defaultValue": "postgres"
                    },
                    "SMTP_HOST": {
                      "isOptional": true,
                      "description": "Optional SMTP server for verification and invite emails (outbound SMTP needs Railway Pro).",
                      "defaultValue": ""
                    },
                    "SMTP_PASS": {
                      "isOptional": true,
                      "description": "SMTP password.",
                      "defaultValue": ""
                    },
                    "SMTP_PORT": {
                      "isOptional": true,
                      "description": "SMTP port.",
                      "defaultValue": "587"
                    },
                    "SMTP_USER": {
                      "isOptional": true,
                      "description": "SMTP username.",
                      "defaultValue": ""
                    },
                    "VERCEL_ENV": {
                      "isOptional": true,
                      "description": "Must stay development for self-hosting (other values require Supabase TLS certificates).",
                      "defaultValue": "development"
                    },
                    "DB_PASSWORD": {
                      "isOptional": true,
                      "description": "Postgres password (reference).",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": true,
                      "description": "SeaweedFS S3 endpoint (private network).",
                      "defaultValue": "http://${{seaweedfs.RAILWAY_PRIVATE_DOMAIN}}:8333"
                    },
                    "SMTP_SECURE": {
                      "isOptional": true,
                      "description": "true for implicit TLS (port 465).",
                      "defaultValue": "false"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "Postgres (Better Auth and app data).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AZURE_API_KEY": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets (Azure helper is unused).",
                      "defaultValue": "anything"
                    },
                    "S3_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "S3 access key (reference).",
                      "defaultValue": "${{seaweedfs.AWS_ACCESS_KEY_ID}}"
                    },
                    "S3_SECRET_KEY": {
                      "isOptional": true,
                      "description": "S3 secret key (reference).",
                      "defaultValue": "${{seaweedfs.AWS_SECRET_ACCESS_KEY}}"
                    },
                    "AZURE_BASE_URL": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets.",
                      "defaultValue": "anything"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets; set a real key only if you want Helicone's own AI helpers. Your apps send their provider keys through the proxy.",
                      "defaultValue": "sk-"
                    },
                    "S3_BUCKET_NAME": {
                      "isOptional": true,
                      "description": "Bucket for request/response bodies.",
                      "defaultValue": "request-response-storage"
                    },
                    "BETTER_AUTH_URL": {
                      "isOptional": true,
                      "description": "Better Auth base URL (must equal the public URL).",
                      "defaultValue": "${{NEXT_PUBLIC_APP_URL}}"
                    },
                    "CLICKHOUSE_HOST": {
                      "isOptional": true,
                      "description": "ClickHouse HTTP endpoint.",
                      "defaultValue": "http://${{clickhouse.RAILWAY_PRIVATE_DOMAIN}}:8123"
                    },
                    "CLICKHOUSE_USER": {
                      "isOptional": true,
                      "description": "ClickHouse user.",
                      "defaultValue": "default"
                    },
                    "ENABLE_CRON_JOB": {
                      "isOptional": true,
                      "description": "Background loops (alerts, reports) - Helm default.",
                      "defaultValue": "true"
                    },
                    "AZURE_API_VERSION": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets.",
                      "defaultValue": "anything"
                    },
                    "STRIPE_SECRET_KEY": {
                      "isOptional": true,
                      "description": "Placeholder only: billing is not used on a self-hosted instance, but the Stripe client is created at start-up and needs a value (Helm/all-in-one images ship a dummy as well).",
                      "defaultValue": "sk_test_not_used_on_self_hosted"
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": true,
                      "description": "Signs session tokens. Generated once.",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "CLICKHOUSE_PASSWORD": {
                      "isOptional": true,
                      "description": "ClickHouse password (reference).",
                      "defaultValue": "${{clickhouse.CLICKHOUSE_PASSWORD}}"
                    },
                    "NEXT_PUBLIC_APP_URL": {
                      "isOptional": true,
                      "description": "Public URL of Helicone (the proxy domain). Change it when you add a custom domain to the proxy.",
                      "defaultValue": "https://${{proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_FORCE_PATH_STYLE": {
                      "isOptional": true,
                      "description": "SeaweedFS needs path-style requests.",
                      "defaultValue": "true"
                    },
                    "AZURE_DEPLOYMENT_NAME": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets.",
                      "defaultValue": "anything"
                    },
                    "NEXT_PUBLIC_BASE_PATH": {
                      "isOptional": true,
                      "description": "OpenAI-compatible proxy base URL shown in the onboarding snippets.",
                      "defaultValue": "${{NEXT_PUBLIC_APP_URL}}/jawn/v1/gateway/oai/v1"
                    },
                    "SUPABASE_DATABASE_URL": {
                      "isOptional": true,
                      "description": "Postgres for Helicone's data access layer.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "ENABLE_PROMPT_SECURITY": {
                      "isOptional": true,
                      "description": "Prompt-injection model service is not deployed (Helm default).",
                      "defaultValue": "false"
                    },
                    "NEXT_PUBLIC_IS_ON_PREM": {
                      "isOptional": true,
                      "description": "Self-hosted mode (required off localhost).",
                      "defaultValue": "true"
                    },
                    "NEXT_PUBLIC_BETTER_AUTH": {
                      "isOptional": true,
                      "description": "Use Better Auth (self-hosted auth) instead of Supabase auth.",
                      "defaultValue": "true"
                    },
                    "NEXT_PUBLIC_API_BASE_PATH": {
                      "isOptional": true,
                      "description": "Helicone API base shown in the UI snippets.",
                      "defaultValue": "${{NEXT_PUBLIC_APP_URL}}/jawn"
                    },
                    "BETTER_AUTH_TRUSTED_ORIGINS": {
                      "isOptional": true,
                      "description": "Origins allowed to call the auth endpoints.",
                      "defaultValue": "${{NEXT_PUBLIC_APP_URL}}"
                    },
                    "NEXT_PUBLIC_HELICONE_JAWN_SERVICE": {
                      "isOptional": true,
                      "description": "Jawn URL the browser uses (proxied under /jawn).",
                      "defaultValue": "${{NEXT_PUBLIC_APP_URL}}/jawn"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "0a326fe1-51cc-5200-86ce-b623c7b5bdd5": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/clickhouse.svg",
                  "name": "clickhouse",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/ping",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/helicone-railway",
                    "branch": "main",
                    "rootDirectory": "/services/clickhouse"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "HTTP port; /ping is the healthcheck.",
                      "defaultValue": "8123"
                    },
                    "CLICKHOUSE_PASSWORD": {
                      "isOptional": true,
                      "description": "Password of the default (admin) user.",
                      "defaultValue": "{{CLICKHOUSE_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Let ClickHouse flush and stop cleanly.",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "49856593-78a6-5b26-9e23-7f925389eea7": {
                      "mountPath": "/var/lib/clickhouse"
                    }
                  }
                },
                "0db3203e-ceea-5a4b-9ea2-1080c0c9a9e7": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/caddy.svg",
                  "name": "proxy",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/_proxy/health",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 120
                  },
                  "source": {
                    "repo": "baranberkay96/helicone-railway",
                    "branch": "main",
                    "rootDirectory": "/services/proxy"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Caddy listen port (public domain target).",
                      "defaultValue": "8080"
                    },
                    "S3_UPSTREAM": {
                      "isOptional": true,
                      "description": "SeaweedFS S3 (presigned body downloads).",
                      "defaultValue": "${{seaweedfs.RAILWAY_PRIVATE_DOMAIN}}:8333"
                    },
                    "WEB_UPSTREAM": {
                      "isOptional": true,
                      "description": "Helicone dashboard (Next.js).",
                      "defaultValue": "${{web.RAILWAY_PRIVATE_DOMAIN}}:3000"
                    },
                    "JAWN_UPSTREAM": {
                      "isOptional": true,
                      "description": "Jawn API and LLM proxy.",
                      "defaultValue": "${{jawn.RAILWAY_PRIVATE_DOMAIN}}:8585"
                    },
                    "HELICONE_ALLOW_SIGNUP": {
                      "isOptional": true,
                      "description": "Set true to let new users sign up on /signup (they get their own organization). The admin account is created by the migrations service.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "2e167f91-03a3-5769-b6fc-745ca6c296fc": {
                  "icon": "https://cdn.jsdelivr.net/gh/Helicone/helicone@main/docs/favicon.svg",
                  "name": "jawn",
                  "deploy": {
                    "startCommand": "yarn serve",
                    "healthcheckPath": "/healthcheck",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 1200
                  },
                  "source": {
                    "image": "helicone/jawn:v2025.08.21"
                  },
                  "variables": {
                    "ENV": {
                      "isOptional": true,
                      "description": "Environment label (Helm value).",
                      "defaultValue": "development"
                    },
                    "PORT": {
                      "isOptional": true,
                      "description": "Jawn HTTP port; /healthcheck is the healthcheck.",
                      "defaultValue": "8585"
                    },
                    "DB_HOST": {
                      "isOptional": true,
                      "description": "Postgres host.",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_NAME": {
                      "isOptional": true,
                      "description": "Postgres database (reference).",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "DB_PORT": {
                      "isOptional": true,
                      "description": "Postgres port.",
                      "defaultValue": "5432"
                    },
                    "DB_USER": {
                      "isOptional": true,
                      "description": "Postgres user (reference).",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "VERCEL_ENV": {
                      "isOptional": true,
                      "description": "Must stay development for self-hosting (other values require Supabase TLS certificates).",
                      "defaultValue": "development"
                    },
                    "DB_PASSWORD": {
                      "isOptional": true,
                      "description": "Postgres password (reference).",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": true,
                      "description": "SeaweedFS S3 endpoint for writes (private network).",
                      "defaultValue": "http://${{seaweedfs.RAILWAY_PRIVATE_DOMAIN}}:8333"
                    },
                    "AZURE_API_KEY": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets (Azure helper is unused).",
                      "defaultValue": "anything"
                    },
                    "S3_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "S3 access key (reference).",
                      "defaultValue": "${{seaweedfs.AWS_ACCESS_KEY_ID}}"
                    },
                    "S3_SECRET_KEY": {
                      "isOptional": true,
                      "description": "S3 secret key (reference).",
                      "defaultValue": "${{seaweedfs.AWS_SECRET_ACCESS_KEY}}"
                    },
                    "AZURE_BASE_URL": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets.",
                      "defaultValue": "anything"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets; set a real key only if you want Helicone's own AI helpers. Your apps send their provider keys through the proxy.",
                      "defaultValue": "sk-"
                    },
                    "S3_BUCKET_NAME": {
                      "isOptional": true,
                      "description": "Bucket for request/response bodies.",
                      "defaultValue": "request-response-storage"
                    },
                    "BETTER_AUTH_URL": {
                      "isOptional": true,
                      "description": "Better Auth base URL.",
                      "defaultValue": "${{web.NEXT_PUBLIC_APP_URL}}"
                    },
                    "CLICKHOUSE_HOST": {
                      "isOptional": true,
                      "description": "ClickHouse HTTP endpoint.",
                      "defaultValue": "http://${{clickhouse.RAILWAY_PRIVATE_DOMAIN}}:8123"
                    },
                    "CLICKHOUSE_USER": {
                      "isOptional": true,
                      "description": "ClickHouse user.",
                      "defaultValue": "default"
                    },
                    "ENABLE_CRON_JOB": {
                      "isOptional": true,
                      "description": "Run Jawn's background loops (alerts, cleanups).",
                      "defaultValue": "true"
                    },
                    "HQL_STORE_BUCKET": {
                      "isOptional": true,
                      "description": "Bucket for HQL result exports.",
                      "defaultValue": "hql-store"
                    },
                    "AZURE_API_VERSION": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets.",
                      "defaultValue": "anything"
                    },
                    "IS_HELICONE_CLOUD": {
                      "isOptional": true,
                      "description": "Self-hosted mode (CORS for the dashboard, no cloud features).",
                      "defaultValue": "false"
                    },
                    "STRIPE_SECRET_KEY": {
                      "isOptional": true,
                      "description": "Placeholder only: billing is not used on a self-hosted instance, but the Stripe client is created at start-up and needs a value (Helm/all-in-one images ship a dummy as well).",
                      "defaultValue": "sk_test_not_used_on_self_hosted"
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": true,
                      "description": "Must match web (validates sessions).",
                      "defaultValue": "${{web.BETTER_AUTH_SECRET}}"
                    },
                    "S3_ENDPOINT_PUBLIC": {
                      "isOptional": true,
                      "description": "Base for presigned URLs given to browsers; the proxy forwards bucket paths to SeaweedFS.",
                      "defaultValue": "${{web.NEXT_PUBLIC_APP_URL}}"
                    },
                    "CLICKHOUSE_HQL_USER": {
                      "isOptional": true,
                      "description": "Restricted ClickHouse user for HQL (SQL) queries from the UI.",
                      "defaultValue": "hql_user"
                    },
                    "CLICKHOUSE_PASSWORD": {
                      "isOptional": true,
                      "description": "ClickHouse password (reference).",
                      "defaultValue": "${{clickhouse.CLICKHOUSE_PASSWORD}}"
                    },
                    "HELICONE_WORKER_URL": {
                      "isOptional": true,
                      "description": "Jawn's own OpenAI proxy route, used by the playground and experiments (all-in-one image value).",
                      "defaultValue": "http://localhost:8585/v1/gateway/oai"
                    },
                    "NEXT_PUBLIC_APP_URL": {
                      "isOptional": true,
                      "description": "Dashboard URL (CORS and links).",
                      "defaultValue": "${{web.NEXT_PUBLIC_APP_URL}}"
                    },
                    "AZURE_DEPLOYMENT_NAME": {
                      "isOptional": true,
                      "description": "Placeholder Helicone's Helm chart sets.",
                      "defaultValue": "anything"
                    },
                    "S3_PROMPT_BUCKET_NAME": {
                      "isOptional": true,
                      "description": "Bucket for prompt bodies.",
                      "defaultValue": "prompt-body-storage"
                    },
                    "SUPABASE_DATABASE_URL": {
                      "isOptional": true,
                      "description": "Postgres connection string.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "ENABLE_PROMPT_SECURITY": {
                      "isOptional": true,
                      "description": "Prompt-security model is not started (Helm default).",
                      "defaultValue": "false"
                    },
                    "CLICKHOUSE_HQL_PASSWORD": {
                      "isOptional": true,
                      "description": "Password the migrations service assigns to hql_user (reference).",
                      "defaultValue": "${{migrations.CLICKHOUSE_HQL_PASSWORD}}"
                    },
                    "NEXT_PUBLIC_BETTER_AUTH": {
                      "isOptional": true,
                      "description": "Better Auth mode.",
                      "defaultValue": "true"
                    },
                    "BETTER_AUTH_TRUSTED_ORIGINS": {
                      "isOptional": true,
                      "description": "Trusted origin for auth calls.",
                      "defaultValue": "${{web.NEXT_PUBLIC_APP_URL}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Let in-flight proxied LLM calls finish on redeploy.",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "4c75cb12-ef26-54f4-a741-2059c5ff963d": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": true,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": true,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": true,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": true,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": true,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": true,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": true,
                      "description": "Default database created when image is started.",
                      "defaultValue": "helicone"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": true,
                      "description": "User to connect to Postgres DB",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": true,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "0cf1eddd-c19d-5daf-ae4e-d3e1e08c6d7a": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "d591fcc6-0105-5cb6-b9be-8f60a30f3012": {
                  "icon": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg/seaweedfs.svg",
                  "name": "seaweedfs",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/helicone-railway",
                    "branch": "main",
                    "rootDirectory": "/services/seaweedfs"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "S3 port; /healthz is the healthcheck.",
                      "defaultValue": "8333"
                    },
                    "S3_PORT": {
                      "isOptional": true,
                      "description": "S3 gateway port.",
                      "defaultValue": "8333"
                    },
                    "S3_BUCKETS": {
                      "isOptional": true,
                      "description": "Buckets created at start (idempotent).",
                      "defaultValue": "request-response-storage,prompt-body-storage,hql-store"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "S3 access key (admin identity).",
                      "defaultValue": "{{AWS_ACCESS_KEY_ID}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "S3 secret key.",
                      "defaultValue": "{{AWS_SECRET_ACCESS_KEY}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Clean shutdown on redeploy.",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "4657e585-813f-5c12-9855-b84b1ce82662": {
                      "mountPath": "/data"
                    }
                  }
                },
                "df1e03f3-9050-5365-8a41-1f4beb24e11d": {
                  "icon": "https://cdn.jsdelivr.net/gh/Helicone/helicone@main/docs/favicon.svg",
                  "name": "migrations",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/helicone-railway",
                    "branch": "main",
                    "rootDirectory": "/services/migrations"
                  },
                  "variables": {
                    "FLYWAY_URL": {
                      "isOptional": true,
                      "description": "JDBC URL for Flyway (Helm chart format).",
                      "defaultValue": "jdbc:postgresql://${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.PGDATABASE}}?sslmode=disable&options=-c%20search_path%3Dpublic,extensions"
                    },
                    "FLYWAY_USER": {
                      "isOptional": true,
                      "description": "Postgres user (reference).",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "Postgres connection string for the admin bootstrap.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "CLICKHOUSE_HOST": {
                      "isOptional": true,
                      "description": "ClickHouse HTTP endpoint.",
                      "defaultValue": "http://${{clickhouse.RAILWAY_PRIVATE_DOMAIN}}:8123"
                    },
                    "CLICKHOUSE_USER": {
                      "isOptional": true,
                      "description": "ClickHouse user.",
                      "defaultValue": "default"
                    },
                    "FLYWAY_PASSWORD": {
                      "isOptional": true,
                      "description": "Postgres password (reference).",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "HELICONE_ORG_NAME": {
                      "isOptional": true,
                      "description": "Name of the admin's organization.",
                      "defaultValue": "My Organization"
                    },
                    "CLICKHOUSE_PASSWORD": {
                      "isOptional": true,
                      "description": "ClickHouse password (reference).",
                      "defaultValue": "${{clickhouse.CLICKHOUSE_PASSWORD}}"
                    },
                    "HELICONE_ADMIN_NAME": {
                      "isOptional": true,
                      "description": "Display name of the first admin.",
                      "defaultValue": "Admin"
                    },
                    "HELICONE_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email of the first admin account (created once, email pre-verified).",
                      "defaultValue": "{{HELICONE_ADMIN_EMAIL}}"
                    },
                    "CLICKHOUSE_HQL_PASSWORD": {
                      "isOptional": true,
                      "description": "Password set on the restricted hql_user (Helicone's migrations create it without one).",
                      "defaultValue": "{{CLICKHOUSE_HQL_PASSWORD}}"
                    },
                    "HELICONE_ADMIN_PASSWORD": {
                      "isOptional": true,
                      "description": "Password of the first admin account. Generated; read it here and change it after first login.",
                      "defaultValue": "{{HELICONE_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "proxy",
      "method": "GET",
      "path": "/_proxy/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 7,
    "needs_volume": true
  },
  "generated_at": "2026-10-11T22:14:38.939Z",
  "generator_version": "0.1.0"
}
