{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a961a397-69c1-438d-9e69-84c0bea84f07",
    "slug": "yeeet",
    "name": "Yeeet",
    "description": "Self-host Yeeet with Postgres, private storage, rollbacks, and sharing.",
    "url": "https://railway.com/deploy/yeeet",
    "upstream": {
      "repo_url": "https://github.com/nearbycoder/yeeet.dev"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "yeeet",
      "source": {
        "repo": "https://github.com/nearbycoder/yeeet.dev"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where PostgreSQL stores its database files.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway private hostname for PostgreSQL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "PostgreSQL connection port.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "PostgreSQL user exposed to the data panel and application.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "PostgreSQL database exposed to the data panel and application.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "PostgreSQL password exposed to the data panel and application.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created when PostgreSQL starts.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private PostgreSQL connection URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "PostgreSQL administrator username.",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "Lifetime of the generated PostgreSQL SSL certificate in days.",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Random PostgreSQL administrator password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allows PostgreSQL to shut down cleanly.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "NODE_ENV",
      "service": "yeeet",
      "description": "Runs Yeeet in production mode.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "DOCS_HOST",
      "service": "yeeet",
      "description": "Hostname you will use for the built-in docs, for example docs.example.com.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "S3_BUCKET",
      "service": "yeeet",
      "description": "Private asset-bucket name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "yeeet",
      "description": "Asset-bucket region.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "yeeet",
      "description": "Private asset-bucket endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SITE_DOMAIN",
      "service": "yeeet",
      "description": "Wildcard suffix you own for deployed sites, for example site.example.com. Add this and *.SITE_DOMAIN to Railway after deploy.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ADMIN_EMAILS",
      "service": "yeeet",
      "description": "Comma-separated email addresses that should become platform administrators.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_URL",
      "service": "yeeet",
      "description": "Private connection to the bundled PostgreSQL service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POOL_SIZE",
      "service": "yeeet",
      "description": "Maximum PostgreSQL connections opened by the application.",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "BETTER_AUTH_URL",
      "service": "yeeet",
      "description": "Public control-plane origin generated by Railway.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MAX_DEPLOY_BYTES",
      "service": "yeeet",
      "description": "Maximum uncompressed bytes accepted for one deployment.",
      "secret": false,
      "strategy": "default",
      "default": "524288000"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "yeeet",
      "description": "Asset-bucket access key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "yeeet",
      "description": "Random secret used to sign authentication state.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_FORCE_PATH_STYLE",
      "service": "yeeet",
      "description": "Use virtual-hosted S3 URLs for Railway Buckets.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "yeeet",
      "description": "Asset-bucket secret key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "INITIAL_INVITATION_CODE",
      "service": "yeeet",
      "description": "Choose a private one-time code for the first account signup; rotate or revoke it from the admin console.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "VITE_GITHUB_AUTH_ENABLED",
      "service": "yeeet",
      "description": "Set to true only after adding both GitHub OAuth variables, then redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "yeeet"
      }
    },
    "cli": "railway deploy --template yeeet",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a961a397-69c1-438d-9e69-84c0bea84f07",
            "serializedConfig": {
              "buckets": {
                "34f2087b-f392-4e3b-992a-b6de03257b5b": {
                  "name": "Assets"
                }
              },
              "services": {
                "8fa0c496-b8cb-4c54-b669-a56b21a68546": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18.4"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where PostgreSQL stores its database files.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway private hostname for PostgreSQL.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "PostgreSQL connection port.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "PostgreSQL user exposed to the data panel and application.",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "PostgreSQL database exposed to the data panel and application.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password exposed to the data panel and application.",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created when PostgreSQL starts.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private PostgreSQL connection URL.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL administrator username.",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "Lifetime of the generated PostgreSQL SSL certificate in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Random PostgreSQL administrator password.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Allows PostgreSQL to shut down cleanly.",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "8fa0c496-b8cb-4c54-b669-a56b21a68546": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "edfe85a2-7a57-4c33-9b6e-4b52448f9625": {
                  "icon": null,
                  "name": "yeeet",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nearbycoder/yeeet.dev",
                    "rootDirectory": null
                  },
                  "variables": {
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "Runs Yeeet in production mode.",
                      "defaultValue": "production"
                    },
                    "DOCS_HOST": {
                      "isOptional": false,
                      "description": "Hostname you will use for the built-in docs, for example docs.example.com.",
                      "defaultValue": "{{DOCS_HOST}}"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Private asset-bucket name.",
                      "defaultValue": "${{Assets.BUCKET}}"
                    },
                    "S3_REGION": {
                      "isOptional": false,
                      "description": "Asset-bucket region.",
                      "defaultValue": "${{Assets.REGION}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "Private asset-bucket endpoint.",
                      "defaultValue": "${{Assets.ENDPOINT}}"
                    },
                    "SITE_DOMAIN": {
                      "isOptional": false,
                      "description": "Wildcard suffix you own for deployed sites, for example site.example.com. Add this and *.SITE_DOMAIN to Railway after deploy.",
                      "defaultValue": "{{SITE_DOMAIN}}"
                    },
                    "ADMIN_EMAILS": {
                      "isOptional": false,
                      "description": "Comma-separated email addresses that should become platform administrators.",
                      "defaultValue": "{{ADMIN_EMAILS}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection to the bundled PostgreSQL service.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "DB_POOL_SIZE": {
                      "isOptional": false,
                      "description": "Maximum PostgreSQL connections opened by the application.",
                      "defaultValue": "10"
                    },
                    "RAILWAY_TOKEN": {
                      "isOptional": true,
                      "description": "Optional project-scoped Railway token used only to provision user custom domains."
                    },
                    "BETTER_AUTH_URL": {
                      "isOptional": false,
                      "description": "Public control-plane origin generated by Railway.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GITHUB_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Optional GitHub OAuth application client ID."
                    },
                    "MAX_DEPLOY_BYTES": {
                      "isOptional": false,
                      "description": "Maximum uncompressed bytes accepted for one deployment.",
                      "defaultValue": "524288000"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Asset-bucket access key.",
                      "defaultValue": "${{Assets.ACCESS_KEY_ID}}"
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Random secret used to sign authentication state.",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "S3_FORCE_PATH_STYLE": {
                      "isOptional": false,
                      "description": "Use virtual-hosted S3 URLs for Railway Buckets.",
                      "defaultValue": "false"
                    },
                    "GITHUB_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Optional GitHub OAuth application client secret."
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Asset-bucket secret key.",
                      "defaultValue": "${{Assets.SECRET_ACCESS_KEY}}"
                    },
                    "INITIAL_INVITATION_CODE": {
                      "isOptional": false,
                      "description": "Choose a private one-time code for the first account signup; rotate or revoke it from the admin console.",
                      "defaultValue": "{{INITIAL_INVITATION_CODE}}"
                    },
                    "VITE_GITHUB_AUTH_ENABLED": {
                      "isOptional": false,
                      "description": "Set to true only after adding both GitHub OAuth variables, then redeploy.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0"
}
