{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7ed5bacb-ff36-47a3-8b3f-73091aea4b0c",
    "slug": "orbit-by-noveum",
    "name": "Orbit by Noveum",
    "description": "Open-source task management with Postgres, Redis and private file storage.",
    "url": "https://railway.com/deploy/orbit-by-noveum",
    "upstream": {
      "repo_url": "https://github.com/Noveum/orbit"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "orbit",
      "source": {
        "repo": "https://github.com/Noveum/orbit"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port that Redis listens on",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Username for authenticating with Redis",
      "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": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Randomly generated password for authenticating with Redis",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "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": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "orbit",
      "description": "Internal HTTP port; keep 3000 to match the public service port.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "HOSTNAME",
      "service": "orbit",
      "description": "Listen on all container interfaces so Railway can reach the app.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "NODE_ENV",
      "service": "orbit",
      "description": "Production mode for the Node web server.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "REDIS_URL",
      "service": "orbit",
      "description": "Private Redis connection supplied by the Redis service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_BUCKET",
      "service": "orbit",
      "description": "Private object bucket holding uploads; provisioned by the Bucket service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "orbit",
      "description": "S3 signing region supplied by the Bucket service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DIRECT_URL",
      "service": "orbit",
      "description": "Direct PostgreSQL connection used for schema migrations.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "orbit",
      "description": "Base S3 endpoint supplied by the Bucket service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "orbit",
      "description": "Private PostgreSQL connection supplied by the Postgres service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BETTER_AUTH_URL",
      "service": "orbit",
      "description": "Public HTTPS origin for sign-in and OAuth callbacks.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "orbit",
      "description": "S3 access identifier supplied by the private Bucket service.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "orbit",
      "description": "Generated authentication secret. Preserve it across redeployments.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILPACK_BUILD_CMD",
      "service": "orbit",
      "description": "Build the Orbit web workspace with Bun.",
      "secret": false,
      "strategy": "default",
      "default": "bun run --filter @orbit/web build"
    },
    {
      "key": "NEXT_PUBLIC_APP_URL",
      "service": "orbit",
      "description": "Public HTTPS origin embedded in the web application.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ORBIT_PASSWORD_AUTH",
      "service": "orbit",
      "description": "Enable password sign-in for this evaluation deployment.",
      "secret": true,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ORBIT_PREVIEW_BUILD",
      "service": "orbit",
      "description": "Limit Next.js build workers for the preview deployment.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "S3_FORCE_PATH_STYLE",
      "service": "orbit",
      "description": "Use virtual-hosted addressing required by new Railway buckets.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "orbit",
      "description": "S3 signing secret supplied by the private Bucket service.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILPACK_NODE_VERSION",
      "service": "orbit",
      "description": "Use Node 22 for the web runtime.",
      "secret": false,
      "strategy": "default",
      "default": "22"
    },
    {
      "key": "NEXT_TELEMETRY_DISABLED",
      "service": "orbit",
      "description": "Disable Next.js build telemetry.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "DATABASE_PREPARED_STATEMENTS",
      "service": "orbit",
      "description": "Enable prepared statements for the direct PostgreSQL connection.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "orbit-by-noveum"
      }
    },
    "cli": "railway deploy --template orbit-by-noveum",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7ed5bacb-ff36-47a3-8b3f-73091aea4b0c",
            "serializedConfig": {
              "buckets": {
                "7e8b77a9-c609-45a0-91c1-92b6b295850d": {
                  "name": "Bucket"
                }
              },
              "services": {
                "4e16ad4c-12d3-441f-bfaa-3abd2c6aaf1b": {
                  "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"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Port that Redis listens on",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Username for authenticating with Redis",
                      "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,
                      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Randomly generated password for authenticating with Redis",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "4e16ad4c-12d3-441f-bfaa-3abd2c6aaf1b": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha"
                },
                "78614fb1-1ed2-4398-85bc-3277ba823988": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "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}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "78614fb1-1ed2-4398-85bc-3277ba823988": {
                      "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."
                  }
                },
                "e233e5de-fd0f-49d5-a882-bc37543c854f": {
                  "name": "orbit",
                  "deploy": {
                    "startCommand": "node apps/web/.next/standalone/apps/web/start.mjs",
                    "healthcheckPath": "/api/health",
                    "preDeployCommand": [
                      "bun run db:release"
                    ]
                  },
                  "source": {
                    "repo": "Noveum/orbit"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Internal HTTP port; keep 3000 to match the public service port.",
                      "defaultValue": "3000"
                    },
                    "HOSTNAME": {
                      "description": "Listen on all container interfaces so Railway can reach the app.",
                      "defaultValue": "0.0.0.0"
                    },
                    "NODE_ENV": {
                      "description": "Production mode for the Node web server.",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "description": "Private Redis connection supplied by the Redis service.",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "S3_BUCKET": {
                      "description": "Private object bucket holding uploads; provisioned by the Bucket service.",
                      "defaultValue": "${{Bucket.BUCKET}}"
                    },
                    "S3_REGION": {
                      "description": "S3 signing region supplied by the Bucket service.",
                      "defaultValue": "${{Bucket.REGION}}"
                    },
                    "DIRECT_URL": {
                      "description": "Direct PostgreSQL connection used for schema migrations.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "S3_ENDPOINT": {
                      "description": "Base S3 endpoint supplied by the Bucket service.",
                      "defaultValue": "${{Bucket.ENDPOINT}}"
                    },
                    "DATABASE_URL": {
                      "description": "Private PostgreSQL connection supplied by the Postgres service.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "BETTER_AUTH_URL": {
                      "description": "Public HTTPS origin for sign-in and OAuth callbacks.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "description": "S3 access identifier supplied by the private Bucket service.",
                      "defaultValue": "${{Bucket.ACCESS_KEY_ID}}"
                    },
                    "BETTER_AUTH_SECRET": {
                      "description": "Generated authentication secret. Preserve it across redeployments.",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "RAILPACK_BUILD_CMD": {
                      "description": "Build the Orbit web workspace with Bun.",
                      "defaultValue": "bun run --filter @orbit/web build"
                    },
                    "NEXT_PUBLIC_APP_URL": {
                      "description": "Public HTTPS origin embedded in the web application.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ORBIT_PASSWORD_AUTH": {
                      "description": "Enable password sign-in for this evaluation deployment.",
                      "defaultValue": "true"
                    },
                    "ORBIT_PREVIEW_BUILD": {
                      "description": "Limit Next.js build workers for the preview deployment.",
                      "defaultValue": "1"
                    },
                    "S3_FORCE_PATH_STYLE": {
                      "description": "Use virtual-hosted addressing required by new Railway buckets.",
                      "defaultValue": "false"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "description": "S3 signing secret supplied by the private Bucket service.",
                      "defaultValue": "${{Bucket.SECRET_ACCESS_KEY}}"
                    },
                    "RAILPACK_NODE_VERSION": {
                      "description": "Use Node 22 for the web runtime.",
                      "defaultValue": "22"
                    },
                    "NEXT_TELEMETRY_DISABLED": {
                      "description": "Disable Next.js build telemetry.",
                      "defaultValue": "1"
                    },
                    "DATABASE_PREPARED_STATEMENTS": {
                      "description": "Enable prepared statements for the direct PostgreSQL connection.",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "orbit",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-23T10:14:44.639Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-23T08:52:51.259Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_aa9c1a85de574e72aa0d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ]
  }
}
