{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cde63dd6-dd01-4f43-b1b0-2305d564c251",
    "slug": "budget-board",
    "name": "Budget Board",
    "description": "Self-hosted personal finance and budgeting with bank sync and PostgreSQL",
    "url": "https://railway.com/deploy/budget-board",
    "upstream": {
      "image": "ghcr.io/youssefsiam38/budget-board-railway-client:1.0.0@sha256:b0f93ec3a7fe1b08e56baeeb53ae2cb052f83e05b22d0d3a0c829e76a67694af"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "server",
      "source": {
        "image": "ghcr.io/youssefsiam38/budget-board-railway:1.0.0@sha256:357cc3d11f323cf1ae947515ec348a307786076f97c79e556f398425802464fb"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "db",
      "source": {
        "image": "postgres:16.15@sha256:65b16a8b326e0cfbdf33fa7e783f2a0cb352a61448616ccccfd616ef42aa0f65"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": false
    },
    {
      "name": "client",
      "source": {
        "image": "ghcr.io/youssefsiam38/budget-board-railway-client:1.0.0@sha256:b0f93ec3a7fe1b08e56baeeb53ae2cb052f83e05b22d0d3a0c829e76a67694af"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "server",
      "description": "Server time zone.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "server",
      "description": "Port Railway health-checks (the API's 8080). Keep it.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "OWNER_EMAIL",
      "service": "server",
      "description": "Your email. The owner account is created with it on the first start; you sign in with it.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "server",
      "description": "The bundled PostgreSQL on Railway's private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "server",
      "description": "PostgreSQL port.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "POSTGRES_USER",
      "service": "server",
      "description": "Database user, from the db service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLIENT_ADDRESS",
      "service": "server",
      "description": "The web app's address (CORS origin). Change it if you add a custom domain to client.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "OWNER_PASSWORD",
      "service": "server",
      "description": "The owner's initial password, generated. Copy it to sign in; change it in Budget Board later.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DISABLE_NEW_USERS",
      "service": "server",
      "description": "true closes public sign-up (the owner is still created). Set false briefly to let someone else register.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "POSTGRES_DATABASE",
      "service": "server",
      "description": "Database name, from the db service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "server",
      "description": "Database password, from the db service.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYNC_INTERVAL_HOURS",
      "service": "server",
      "description": "How often SimpleFIN/LunchFlow bank sync runs, in hours (minimum 1).",
      "secret": false,
      "strategy": "default",
      "default": "8"
    },
    {
      "key": "ASPNETCORE_HTTP_PORTS",
      "service": "server",
      "description": "Port the API listens on (all interfaces, IPv6 dual-stack). Keep it equal to PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "server",
      "description": "The first start runs database migrations and creates the owner.",
      "secret": false,
      "strategy": "default",
      "default": "300"
    },
    {
      "key": "PGDATA",
      "service": "db",
      "description": "Data directory inside the volume (the volume root holds lost+found).",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "db",
      "description": "PostgreSQL database.",
      "secret": false,
      "strategy": "default",
      "default": "budgetboard"
    },
    {
      "key": "POSTGRES_USER",
      "service": "db",
      "description": "PostgreSQL user.",
      "secret": false,
      "strategy": "default",
      "default": "budgetboard"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "db",
      "description": "PostgreSQL password, generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "client",
      "description": "Port the web app (nginx) listens on; the public domain targets it.",
      "secret": false,
      "strategy": "default",
      "default": "6253"
    },
    {
      "key": "VITE_SERVER_PORT",
      "service": "client",
      "description": "The API server's port.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "VITE_OIDC_ENABLED",
      "service": "client",
      "description": "true shows the OIDC login button (configure OIDC_* on server and VITE_OIDC_* here).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "VITE_SERVER_ADDRESS",
      "service": "client",
      "description": "The API server's private host name; nginx proxies /api to it.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "VITE_DISABLE_NEW_USERS",
      "service": "client",
      "description": "Hides the sign-up form. Keep it in step with DISABLE_NEW_USERS on server.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "VITE_DISABLE_LOCAL_AUTH",
      "service": "client",
      "description": "true hides email/password login (OIDC only; set DISABLE_LOCAL_AUTH on server too).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "budget-board"
      }
    },
    "cli": "railway deploy --template budget-board",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cde63dd6-dd01-4f43-b1b0-2305d564c251",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "63c53531-8500-43fc-8fae-9bec01f46f31": {
                  "icon": null,
                  "name": "server",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/budget-board-railway:1.0.0@sha256:357cc3d11f323cf1ae947515ec348a307786076f97c79e556f398425802464fb"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Server time zone.",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks (the API's 8080). Keep it.",
                      "defaultValue": "8080"
                    },
                    "OIDC_ISSUER": {
                      "isOptional": true,
                      "description": "Optional. OIDC issuer URL."
                    },
                    "OWNER_EMAIL": {
                      "isOptional": false,
                      "description": "Your email. The owner account is created with it on the first start; you sign in with it.",
                      "defaultValue": "{{OWNER_EMAIL}}"
                    },
                    "EMAIL_SENDER": {
                      "isOptional": true,
                      "description": "Optional. From address for e-mail (password resets). Enabling e-mail requires confirmed addresses."
                    },
                    "OIDC_ENABLED": {
                      "isOptional": true,
                      "description": "Optional. true enables OIDC single sign-on."
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "The bundled PostgreSQL on Railway's private network.",
                      "defaultValue": "${{db.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "PostgreSQL port.",
                      "defaultValue": "5432"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user, from the db service.",
                      "defaultValue": "${{db.POSTGRES_USER}}"
                    },
                    "CLIENT_ADDRESS": {
                      "isOptional": false,
                      "description": "The web app's address (CORS origin). Change it if you add a custom domain to client.",
                      "defaultValue": "https://${{client.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "OIDC_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Optional. OIDC client id."
                    },
                    "OWNER_PASSWORD": {
                      "isOptional": false,
                      "description": "The owner's initial password, generated. Copy it to sign in; change it in Budget Board later.",
                      "defaultValue": "{{OWNER_PASSWORD}}"
                    },
                    "EMAIL_SMTP_HOST": {
                      "isOptional": true,
                      "description": "Optional. SMTP host."
                    },
                    "EMAIL_SMTP_PORT": {
                      "isOptional": true,
                      "description": "Optional. SMTP port (default 587)."
                    },
                    "DISABLE_NEW_USERS": {
                      "isOptional": false,
                      "description": "true closes public sign-up (the owner is still created). Set false briefly to let someone else register.",
                      "defaultValue": "true"
                    },
                    "POSTGRES_DATABASE": {
                      "isOptional": false,
                      "description": "Database name, from the db service.",
                      "defaultValue": "${{db.POSTGRES_DB}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password, from the db service.",
                      "defaultValue": "${{db.POSTGRES_PASSWORD}}"
                    },
                    "DISABLE_LOCAL_AUTH": {
                      "isOptional": true,
                      "description": "Optional. true allows OIDC login only (requires OIDC_ENABLED=true)."
                    },
                    "OIDC_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Optional. OIDC client secret."
                    },
                    "SYNC_INTERVAL_HOURS": {
                      "isOptional": false,
                      "description": "How often SimpleFIN/LunchFlow bank sync runs, in hours (minimum 1).",
                      "defaultValue": "8"
                    },
                    "ASPNETCORE_HTTP_PORTS": {
                      "isOptional": false,
                      "description": "Port the API listens on (all interfaces, IPv6 dual-stack). Keep it equal to PORT.",
                      "defaultValue": "8080"
                    },
                    "EMAIL_SENDER_PASSWORD": {
                      "isOptional": true,
                      "description": "Optional. SMTP password."
                    },
                    "EMAIL_SENDER_USERNAME": {
                      "isOptional": true,
                      "description": "Optional. SMTP user name."
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "The first start runs database migrations and creates the owner.",
                      "defaultValue": "300"
                    }
                  }
                },
                "bc7bead2-d82a-4c65-b3da-be6ffffa97a2": {
                  "icon": null,
                  "name": "db",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:16.15@sha256:65b16a8b326e0cfbdf33fa7e783f2a0cb352a61448616ccccfd616ef42aa0f65"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data directory inside the volume (the volume root holds lost+found).",
                      "defaultValue": "/var/lib/postgresql/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "PostgreSQL database.",
                      "defaultValue": "budgetboard"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL user.",
                      "defaultValue": "budgetboard"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password, generated.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "bc7bead2-d82a-4c65-b3da-be6ffffa97a2": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                },
                "f33a0caf-096e-4759-aa12-7fa0b142f515": {
                  "icon": null,
                  "name": "client",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/budget-board-railway-client:1.0.0@sha256:b0f93ec3a7fe1b08e56baeeb53ae2cb052f83e05b22d0d3a0c829e76a67694af"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the web app (nginx) listens on; the public domain targets it.",
                      "defaultValue": "6253"
                    },
                    "VITE_SERVER_PORT": {
                      "isOptional": false,
                      "description": "The API server's port.",
                      "defaultValue": "8080"
                    },
                    "VITE_OIDC_ENABLED": {
                      "isOptional": false,
                      "description": "true shows the OIDC login button (configure OIDC_* on server and VITE_OIDC_* here).",
                      "defaultValue": "false"
                    },
                    "VITE_OIDC_PROVIDER": {
                      "isOptional": true,
                      "description": "Optional. OIDC issuer URL (same as OIDC_ISSUER on server)."
                    },
                    "VITE_OIDC_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Optional. OIDC client id (same as OIDC_CLIENT_ID on server)."
                    },
                    "VITE_SERVER_ADDRESS": {
                      "isOptional": false,
                      "description": "The API server's private host name; nginx proxies /api to it.",
                      "defaultValue": "${{server.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "VITE_DISABLE_NEW_USERS": {
                      "isOptional": false,
                      "description": "Hides the sign-up form. Keep it in step with DISABLE_NEW_USERS on server.",
                      "defaultValue": "true"
                    },
                    "VITE_DISABLE_LOCAL_AUTH": {
                      "isOptional": false,
                      "description": "true hides email/password login (OIDC only; set DISABLE_LOCAL_AUTH on server too).",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:6253": {
                        "port": 6253
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "client",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-10-07T10:14:36.716Z",
  "generator_version": "0.1.0"
}
