{
  "manifest_version": "1.0.0",
  "template": {
    "id": "22d41f7d-d96f-419b-8c15-6bb74def2ad7",
    "slug": "money-matter",
    "name": "money-matter",
    "description": "MoneyMatter – track balances, transactions, and expenses with ease",
    "url": "https://railway.com/deploy/money-matter",
    "upstream": {
      "repo_url": "https://github.com/letehaha/budget-tracker"
    }
  },
  "services": [
    {
      "name": "frontend",
      "source": {
        "repo": "https://github.com/letehaha/budget-tracker"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "letehaha/currency-rates-api:latest",
      "source": {
        "image": "letehaha/currency-rates-api:latest"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "lineofflight/frankfurter",
      "source": {
        "image": "lineofflight/frankfurter"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    },
    {
      "name": "backend",
      "source": {
        "repo": "https://github.com/letehaha/budget-tracker"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "VITE_APP_API_VER",
      "service": "frontend",
      "description": "Provide a value for VITE_APP_API_VER.",
      "secret": false,
      "strategy": "default",
      "default": "/api/v1"
    },
    {
      "key": "VITE_APP_API_HTTP",
      "service": "frontend",
      "description": "Provide a value for VITE_APP_API_HTTP.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "VITE_MCP_BASE_URL",
      "service": "frontend",
      "description": "Provide a value for VITE_MCP_BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "frontend",
      "description": "Frontend Dockerfile",
      "secret": false,
      "strategy": "default",
      "default": "docker/prod/frontend/Dockerfile"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Provide a value for REDISHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Provide a value for REDISPORT.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Provide a value for REDISUSER.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDISPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis externally",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "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": "railway"
    },
    {
      "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": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public URL to connect to Postgres database, used by the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "APP_URL",
      "service": "backend",
      "description": "Provide a value for APP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NODE_ENV",
      "service": "backend",
      "description": "Provide a value for NODE_ENV.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "REDIS_URL",
      "service": "backend",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AUTH_RP_ID",
      "service": "backend",
      "description": "Provide a value for AUTH_RP_ID.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AUTH_ORIGIN",
      "service": "backend",
      "description": "Provide a value for AUTH_ORIGIN.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AUTH_RP_NAME",
      "service": "backend",
      "description": "Provide a value for AUTH_RP_NAME.",
      "secret": false,
      "strategy": "default",
      "default": "MoneyMatter"
    },
    {
      "key": "ALLOWED_ORIGINS",
      "service": "backend",
      "description": "Provide a value for ALLOWED_ORIGINS.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "BETTER_AUTH_URL",
      "service": "backend",
      "description": "Provide a value for BETTER_AUTH_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APPLICATION_PORT",
      "service": "backend",
      "description": "Provide a value for APPLICATION_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8081"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "backend",
      "description": "Provide a value for BETTER_AUTH_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "APPLICATION_DB_HOST",
      "service": "backend",
      "description": "Provide a value for APPLICATION_DB_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "APPLICATION_DB_PORT",
      "service": "backend",
      "description": "Provide a value for APPLICATION_DB_PORT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FRANKFURTER_BASE_URL",
      "service": "backend",
      "description": "Provide a value for FRANKFURTER_BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "APP_SESSION_ID_SECRET",
      "service": "backend",
      "description": "Provide a value for APP_SESSION_ID_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "APPLICATION_DB_DIALECT",
      "service": "backend",
      "description": "Provide a value for APPLICATION_DB_DIALECT.",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "APPLICATION_JWT_SECRET",
      "service": "backend",
      "description": "Provide a value for APPLICATION_JWT_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CURRENCY_RATES_API_URL",
      "service": "backend",
      "description": "Provide a value for CURRENCY_RATES_API_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "APPLICATION_DB_DATABASE",
      "service": "backend",
      "description": "Provide a value for APPLICATION_DB_DATABASE.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "APPLICATION_DB_PASSWORD",
      "service": "backend",
      "description": "Provide a value for APPLICATION_DB_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "APPLICATION_DB_USERNAME",
      "service": "backend",
      "description": "Provide a value for APPLICATION_DB_USERNAME.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "backend",
      "description": "Path to Dockerfile",
      "secret": false,
      "strategy": "default",
      "default": "docker/prod/backend/Dockerfile"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "money-matter"
      }
    },
    "cli": "railway deploy --template money-matter",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "22d41f7d-d96f-419b-8c15-6bb74def2ad7",
            "serializedConfig": {
              "services": {
                "22b2c7dd-f7e5-41f8-9062-258ae9aa1dd7": {
                  "name": "frontend",
                  "source": {
                    "repo": "letehaha/budget-tracker",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "VITE_APP_API_VER": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/api/v1"
                    },
                    "VITE_APP_API_HTTP": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{backend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "VITE_MCP_BASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{backend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "VITE_LOGO_DEV_TOKEN": {
                      "isOptional": true,
                      "description": "LogoDev token to be able to fetch companies logos",
                      "defaultValue": ""
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Frontend Dockerfile",
                      "defaultValue": "docker/prod/frontend/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  }
                },
                "4ab400f3-ef9b-4e76-8c1e-e7acf8146c3a": {
                  "name": "letehaha/currency-rates-api:latest",
                  "source": {
                    "image": "letehaha/currency-rates-api:latest"
                  }
                },
                "50c2c467-fa44-4e37-8fd4-58afe6b7ae52": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.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\""
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Connection string for connecting to redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "description": "Connection string for connecting to redis externally",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_TCP_PROXY_DOMAIN }}:${{ RAILWAY_TCP_PROXY_PORT }}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "50c2c467-fa44-4e37-8fd4-58afe6b7ae52": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "cfa3ae9f-a430-4f24-b701-ebd5af626c49": {
                  "name": "lineofflight/frankfurter",
                  "source": {
                    "image": "lineofflight/frankfurter"
                  }
                },
                "d3ccdb17-1c92-4b48-97eb-737a24230f75": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "requiredMountPath": "/var/lib/postgresql/data"
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "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": false,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "description": "Public URL to connect to Postgres database, used by the Data panel.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "d3ccdb17-1c92-4b48-97eb-737a24230f75": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  },
                  "haTemplateCode": "postgres-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxy",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "Routes traffic to the primary",
                      "defaultValue": 3
                    },
                    "replica": {
                      "label": "Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ],
                      "nodeLabel": "Postgres",
                      "description": "Streaming replicas for automatic failover",
                      "defaultValue": 2
                    },
                    "internal": {
                      "label": "Coordinator Nodes",
                      "options": [
                        3,
                        5,
                        7,
                        9
                      ],
                      "nodeLabel": "etcd",
                      "defaultValue": 3
                    },
                    "description": "This will convert your Postgres database to an HA cluster with Patroni failover and etcd consensus."
                  }
                },
                "f0380197-c0d8-44ae-985c-198982d2e393": {
                  "name": "backend",
                  "source": {
                    "repo": "letehaha/budget-tracker",
                    "branch": null,
                    "rootDirectory": "/docker/prod/backend"
                  },
                  "variables": {
                    "APP_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "AUTH_RP_ID": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ADMIN_USERS": {
                      "isOptional": true,
                      "description": "Comma-separated usernames with admin access. Adds a few extra brute-force buttons",
                      "defaultValue": ""
                    },
                    "AUTH_ORIGIN": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "FMP_API_KEY": {
                      "isOptional": true,
                      "description": "Investment securities data",
                      "defaultValue": ""
                    },
                    "AUTH_RP_NAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "MoneyMatter"
                    },
                    "GROQ_API_KEY": {
                      "isOptional": true,
                      "description": "AI transaction categorization (any ONE is enough)",
                      "defaultValue": ""
                    },
                    "GEMINI_API_KEY": {
                      "isOptional": true,
                      "description": "AI transaction categorization (any ONE is enough)",
                      "defaultValue": ""
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "AI transaction categorization (any ONE is enough)",
                      "defaultValue": ""
                    },
                    "RESEND_API_KEY": {
                      "isOptional": true,
                      "description": "Email notifications (verification, payment reminders)",
                      "defaultValue": ""
                    },
                    "ALLOWED_ORIGINS": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "BETTER_AUTH_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POLYGON_API_KEY": {
                      "isOptional": true,
                      "description": "Investment securities data",
                      "defaultValue": ""
                    },
                    "APPLICATION_PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8081"
                    },
                    "GITHUB_CLIENT_ID": {
                      "isOptional": true,
                      "description": "GitHub OAuth login",
                      "defaultValue": ""
                    },
                    "GOOGLE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Google OAuth login",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "AI transaction categorization (any ONE is enough)",
                      "defaultValue": ""
                    },
                    "RESEND_FROM_EMAIL": {
                      "isOptional": true,
                      "description": "Email address from which emails will come. Required if wanna use Resend",
                      "defaultValue": ""
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "APPLICATION_DB_HOST": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "APPLICATION_DB_PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "FRANKFURTER_BASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "http://${{frankfurter.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "GITHUB_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "GitHub OAuth login",
                      "defaultValue": ""
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Google OAuth login",
                      "defaultValue": ""
                    },
                    "ALPHA_VANTAGE_API_KEY": {
                      "isOptional": true,
                      "description": "Investment securities data",
                      "defaultValue": ""
                    },
                    "APP_SESSION_ID_SECRET": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{APP_SESSION_ID_SECRET}}"
                    },
                    "APPLICATION_DB_DIALECT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "postgres"
                    },
                    "APPLICATION_JWT_SECRET": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{APPLICATION_JWT_SECRET}}"
                    },
                    "CURRENCY_RATES_API_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "http://${{currency-rates-api.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "APPLICATION_DB_DATABASE": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "APPLICATION_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "APPLICATION_DB_USERNAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Path to Dockerfile",
                      "defaultValue": "docker/prod/backend/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8081": {
                        "port": 8081
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 6,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T14:33:03.988Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_f4da7ea7212442c18194",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED,FAILED,SUCCESS,SUCCESS,SUCCESS,SUCCESS"
      }
    ]
  }
}
