{
  "manifest_version": "1.0.0",
  "template": {
    "id": "610ec918-07f3-4f3d-9e6a-bd4c87a44efd",
    "slug": "nimbus-agent-247-employee",
    "name": "Nimbus Agent - 24/7 Employee",
    "description": "Deploy a fully autonomous 24/7 AI employee with built-in MCP tools.",
    "url": "https://railway.com/deploy/nimbus-agent-247-employee",
    "upstream": {
      "image": "ghcr.io/yoodule/nimbus/gateway:v1.2.0"
    }
  },
  "services": [
    {
      "name": "postgres",
      "source": {
        "image": "pgvector/pgvector:pg17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "gateway",
      "source": {
        "image": "ghcr.io/yoodule/nimbus/gateway:v1.2.0"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "qdrant",
      "source": {
        "image": "qdrant/qdrant:v1.12.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/qdrant/storage",
      "http": false
    },
    {
      "name": "dashboard",
      "source": {
        "image": "ghcr.io/yoodule/nimbus/dashboard:v1.2.0"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "redis",
      "source": {
        "image": "redis:7.4.1-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "postgres",
      "description": "Data directory",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "postgres",
      "description": "Database name",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "POSTGRES_USER",
      "service": "postgres",
      "description": "Database username",
      "secret": false,
      "strategy": "default",
      "default": "nimbus"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "gateway",
      "description": "Railway port",
      "secret": false,
      "strategy": "default",
      "default": "8088"
    },
    {
      "key": "REDIS_URL",
      "service": "gateway",
      "description": "Redis connection",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NIMBUS_ENV",
      "service": "gateway",
      "description": "Environment name",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "NIMBUS_URL",
      "service": "gateway",
      "description": "Dashboard URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "QDRANT_URL",
      "service": "gateway",
      "description": "Qdrant URL",
      "secret": false,
      "strategy": "default",
      "default": "http://qdrant.railway.internal:6333"
    },
    {
      "key": "GATEWAY_PORT",
      "service": "gateway",
      "description": "Internal port",
      "secret": false,
      "strategy": "default",
      "default": "8088"
    },
    {
      "key": "MCP_JSON_B64",
      "service": "gateway",
      "description": "MCP Config",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_URL",
      "service": "gateway",
      "description": "Postgres connection",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "VNC_PASSWORD",
      "service": "gateway",
      "description": "Browser password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NIMBUS_API_KEY",
      "service": "gateway",
      "description": "Internal API key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QDRANT_API_KEY",
      "service": "gateway",
      "description": "Qdrant API key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "gateway",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OLLAMA_BASE_URL",
      "service": "gateway",
      "description": "Ollama URL",
      "secret": false,
      "strategy": "default",
      "default": "https://ollama.com/api"
    },
    {
      "key": "MCP_ALLOWED_HOSTS",
      "service": "gateway",
      "description": "Allowed hosts",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "FASTMCP_DOCKET_URL",
      "service": "gateway",
      "description": "Queue URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NIMBUS_SERVICE_KEY",
      "service": "gateway",
      "description": "Auth key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "WHATSAPP_TOKEN_URL",
      "service": "gateway",
      "description": "WhatsApp token",
      "secret": true,
      "strategy": "default",
      "default": "http://localhost:8081/api/token"
    },
    {
      "key": "FASTMCP_DOCKET_NAME",
      "service": "gateway",
      "description": "Queue name",
      "secret": false,
      "strategy": "default",
      "default": "nimbus-docket"
    },
    {
      "key": "MCP_ALLOWED_ORIGINS",
      "service": "gateway",
      "description": "Allowed origins",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "WHATSAPP_PUBLIC_URL",
      "service": "gateway",
      "description": "WhatsApp URL",
      "secret": false,
      "strategy": "default",
      "default": "http://localhost:8081"
    },
    {
      "key": "NIMBUS_PROJECTS_ROOT",
      "service": "gateway",
      "description": "Projects path",
      "secret": false,
      "strategy": "default",
      "default": "/root/.nimbus/projects"
    },
    {
      "key": "WHATSAPP_API_BASE_URL",
      "service": "gateway",
      "description": "WhatsApp API",
      "secret": false,
      "strategy": "default",
      "default": "http://localhost:8081/api"
    },
    {
      "key": "NIMBUS_USER_PROFILE_ROOT",
      "service": "gateway",
      "description": "Profiles path",
      "secret": false,
      "strategy": "default",
      "default": "/root/.nimbus/projects/default"
    },
    {
      "key": "NIMBUS_USER_PROJECTS_ROOT",
      "service": "gateway",
      "description": "User projects path",
      "secret": false,
      "strategy": "default",
      "default": "/root/.nimbus/projects/default"
    },
    {
      "key": "QDRANT__SERVICE__API_KEY",
      "service": "qdrant",
      "description": "Qdrant API key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QDRANT__SERVICE__ENABLE_STATIC_ROUTING",
      "service": "qdrant",
      "description": "Enable static UI",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NO_HTTPS",
      "service": "dashboard",
      "description": "Disable HTTPS internally",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDIS_URL",
      "service": "dashboard",
      "description": "Redis connection",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QDRANT_URL",
      "service": "dashboard",
      "description": "Qdrant URL",
      "secret": false,
      "strategy": "default",
      "default": "http://qdrant.railway.internal:6333"
    },
    {
      "key": "POSTGRES_URL",
      "service": "dashboard",
      "description": "Postgres connection",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NIMBUS_API_KEY",
      "service": "dashboard",
      "description": "Internal API key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BETTER_AUTH_URL",
      "service": "dashboard",
      "description": "Auth URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "OLLAMA_BASE_URL",
      "service": "dashboard",
      "description": "Ollama URL",
      "secret": false,
      "strategy": "default",
      "default": "https://ollama.com/api"
    },
    {
      "key": "TRUSTED_ORIGINS",
      "service": "dashboard",
      "description": "Trusted origins",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "dashboard",
      "description": "Auth secret",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NIMBUS_GATEWAY_URL",
      "service": "dashboard",
      "description": "Gateway URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NEXT_PUBLIC_VNC_URL",
      "service": "dashboard",
      "description": "Public URL of Gateway port 6080 (noVNC desktop)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NIMBUS_SIGN_UP_MODE",
      "service": "dashboard",
      "description": "Signup mode",
      "secret": false,
      "strategy": "default",
      "default": "open"
    },
    {
      "key": "NEXT_PUBLIC_VNC_PASSWORD",
      "service": "dashboard",
      "description": "Browser password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FORCE_RESTART",
      "service": "redis",
      "description": "Trigger restart",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "redis",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nimbus-agent-247-employee"
      }
    },
    "cli": "railway deploy --template nimbus-agent-247-employee",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "610ec918-07f3-4f3d-9e6a-bd4c87a44efd",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "5cbbe6cf-4a65-492c-98fe-20c974215320": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "pgvector/pgvector:pg17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data directory",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "postgres"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database username",
                      "defaultValue": "nimbus"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{ shared.postgres_password }}"
                    }
                  },
                  "volumeMounts": {
                    "5cbbe6cf-4a65-492c-98fe-20c974215320": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "88ae0618-6542-40db-b698-f97041d6bd22": {
                  "icon": null,
                  "name": "gateway",
                  "deploy": {
                    "startCommand": "sh -c \"echo \\\"\\$MCP_JSON_B64\\\" | base64 -d > /app/mcp.json && exec /entrypoint.sh\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/yoodule/nimbus/gateway:v1.2.0"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Railway port",
                      "defaultValue": "8088"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection",
                      "defaultValue": "redis://:${{ shared.redis_password }}@redis.railway.internal:6379/0"
                    },
                    "NIMBUS_ENV": {
                      "isOptional": false,
                      "description": "Environment name",
                      "defaultValue": "production"
                    },
                    "NIMBUS_URL": {
                      "isOptional": false,
                      "description": "Dashboard URL",
                      "defaultValue": "https://${{ dashboard.RAILWAY_PUBLIC_DOMAIN }}"
                    },
                    "QDRANT_URL": {
                      "isOptional": false,
                      "description": "Qdrant URL",
                      "defaultValue": "http://qdrant.railway.internal:6333"
                    },
                    "GATEWAY_PORT": {
                      "isOptional": false,
                      "description": "Internal port",
                      "defaultValue": "8088"
                    },
                    "MCP_JSON_B64": {
                      "isOptional": false,
                      "description": "MCP Config",
                      "defaultValue": "${{ shared.mcp_json_b64 }}"
                    },
                    "POSTGRES_URL": {
                      "isOptional": false,
                      "description": "Postgres connection",
                      "defaultValue": "postgresql://nimbus:${{ shared.postgres_password }}@postgres.railway.internal:5432/postgres"
                    },
                    "VNC_PASSWORD": {
                      "isOptional": false,
                      "description": "Browser password",
                      "defaultValue": "${{ shared.vnc_password }}"
                    },
                    "NIMBUS_API_KEY": {
                      "isOptional": false,
                      "description": "Internal API key",
                      "defaultValue": "${{ shared.nimbus_api_key }}"
                    },
                    "QDRANT_API_KEY": {
                      "isOptional": false,
                      "description": "Qdrant API key",
                      "defaultValue": "${{ shared.qdrant_api_key }}"
                    },
                    "REDIS_PASSWORD": {
                      "description": "Redis password",
                      "defaultValue": "${{ shared.redis_password }}"
                    },
                    "OLLAMA_BASE_URL": {
                      "isOptional": false,
                      "description": "Ollama URL",
                      "defaultValue": "https://ollama.com/api"
                    },
                    "MCP_ALLOWED_HOSTS": {
                      "isOptional": false,
                      "description": "Allowed hosts",
                      "defaultValue": "gateway:*,gateway.railway.internal:*,${{ gateway.RAILWAY_PUBLIC_DOMAIN }}:*,127.0.0.1:*,localhost:*,[::1]:*"
                    },
                    "FASTMCP_DOCKET_URL": {
                      "isOptional": false,
                      "description": "Queue URL",
                      "defaultValue": "redis://:${{ shared.redis_password }}@redis.railway.internal:6379/0"
                    },
                    "NIMBUS_SERVICE_KEY": {
                      "isOptional": false,
                      "description": "Auth key",
                      "defaultValue": "{{NIMBUS_SERVICE_KEY}}"
                    },
                    "WHATSAPP_TOKEN_URL": {
                      "isOptional": false,
                      "description": "WhatsApp token",
                      "defaultValue": "http://localhost:8081/api/token"
                    },
                    "FASTMCP_DOCKET_NAME": {
                      "isOptional": false,
                      "description": "Queue name",
                      "defaultValue": "nimbus-docket"
                    },
                    "MCP_ALLOWED_ORIGINS": {
                      "isOptional": false,
                      "description": "Allowed origins",
                      "defaultValue": "http://gateway:8088,http://gateway.railway.internal:8088,http://dashboard.railway.internal:7000,https://${{ dashboard.RAILWAY_PUBLIC_DOMAIN }},https://${{ gateway.RAILWAY_PUBLIC_DOMAIN }},http://localhost:3000,http://127.0.0.1:3000"
                    },
                    "WHATSAPP_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "WhatsApp URL",
                      "defaultValue": "http://localhost:8081"
                    },
                    "NIMBUS_PROJECTS_ROOT": {
                      "isOptional": false,
                      "description": "Projects path",
                      "defaultValue": "/root/.nimbus/projects"
                    },
                    "WHATSAPP_API_BASE_URL": {
                      "isOptional": false,
                      "description": "WhatsApp API",
                      "defaultValue": "http://localhost:8081/api"
                    },
                    "NIMBUS_USER_PROFILE_ROOT": {
                      "isOptional": false,
                      "description": "Profiles path",
                      "defaultValue": "/root/.nimbus/projects/default"
                    },
                    "NIMBUS_USER_PROJECTS_ROOT": {
                      "isOptional": false,
                      "description": "User projects path",
                      "defaultValue": "/root/.nimbus/projects/default"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "9613fd0b-5c64-4bce-bdf2-d720d0b388bb": {
                  "icon": null,
                  "name": "qdrant",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "qdrant/qdrant:v1.12.4"
                  },
                  "variables": {
                    "QDRANT__SERVICE__API_KEY": {
                      "description": "Qdrant API key",
                      "defaultValue": "${{ shared.qdrant_api_key }}"
                    },
                    "QDRANT__SERVICE__ENABLE_STATIC_ROUTING": {
                      "isOptional": false,
                      "description": "Enable static UI",
                      "defaultValue": "true"
                    }
                  },
                  "volumeMounts": {
                    "9613fd0b-5c64-4bce-bdf2-d720d0b388bb": {
                      "mountPath": "/qdrant/storage"
                    }
                  }
                },
                "df7c58d4-38d1-480e-a8f5-0540249fc671": {
                  "icon": null,
                  "name": "dashboard",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/yoodule/nimbus/dashboard:v1.2.0"
                  },
                  "variables": {
                    "NO_HTTPS": {
                      "isOptional": false,
                      "description": "Disable HTTPS internally",
                      "defaultValue": "true"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection",
                      "defaultValue": "redis://:${{ shared.redis_password }}@redis.railway.internal:6379/0"
                    },
                    "QDRANT_URL": {
                      "isOptional": false,
                      "description": "Qdrant URL",
                      "defaultValue": "http://qdrant.railway.internal:6333"
                    },
                    "POSTGRES_URL": {
                      "isOptional": false,
                      "description": "Postgres connection",
                      "defaultValue": "postgresql://nimbus:${{ shared.postgres_password }}@postgres.railway.internal:5432/postgres"
                    },
                    "NIMBUS_API_KEY": {
                      "isOptional": false,
                      "description": "Internal API key",
                      "defaultValue": "${{ shared.nimbus_api_key }}"
                    },
                    "BETTER_AUTH_URL": {
                      "isOptional": false,
                      "description": "Auth URL",
                      "defaultValue": "https://${{ dashboard.RAILWAY_PUBLIC_DOMAIN }}"
                    },
                    "OLLAMA_BASE_URL": {
                      "isOptional": false,
                      "description": "Ollama URL",
                      "defaultValue": "https://ollama.com/api"
                    },
                    "TRUSTED_ORIGINS": {
                      "isOptional": false,
                      "description": "Trusted origins",
                      "defaultValue": "https://${{ dashboard.RAILWAY_PUBLIC_DOMAIN }},https://${{ gateway.RAILWAY_PUBLIC_DOMAIN }},http://localhost:3000"
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Auth secret",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "NIMBUS_GATEWAY_URL": {
                      "isOptional": false,
                      "description": "Gateway URL",
                      "defaultValue": "https://${{ gateway.RAILWAY_PUBLIC_DOMAIN }}"
                    },
                    "NEXT_PUBLIC_VNC_URL": {
                      "description": "Public URL of Gateway port 6080 (noVNC desktop)",
                      "defaultValue": "{{NEXT_PUBLIC_VNC_URL}}"
                    },
                    "NIMBUS_SIGN_UP_MODE": {
                      "isOptional": false,
                      "description": "Signup mode",
                      "defaultValue": "open"
                    },
                    "NEXT_PUBLIC_VNC_PASSWORD": {
                      "isOptional": false,
                      "description": "Browser password",
                      "defaultValue": "${{ shared.vnc_password }}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "e620efd3-ca4a-4c9d-9f17-15aa78adc5a9": {
                  "icon": null,
                  "name": "redis",
                  "deploy": {
                    "startCommand": "redis-server --requirepass TGeyhZuajewBQ5ztV7amcQCoCUs8Z",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:7.4.1-alpine"
                  },
                  "variables": {
                    "FORCE_RESTART": {
                      "isOptional": false,
                      "description": "Trigger restart",
                      "defaultValue": "1"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password",
                      "defaultValue": "${{ shared.redis_password }}"
                    }
                  },
                  "volumeMounts": {
                    "e620efd3-ca4a-4c9d-9f17-15aa78adc5a9": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-24T16:15:00.515Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-24T12:59:14.250Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_d068fe6bec604a0589ab",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "CRASHED,SUCCESS,SUCCESS,SUCCESS,SUCCESS"
      }
    ]
  }
}
