{
  "manifest_version": "1.0.0",
  "template": {
    "id": "97b76230-3110-4e6a-a101-3a2ee3bd91e5",
    "slug": "multica-agent-platform",
    "name": "Multica — Self-Hosted AI Agent Teammates",
    "description": "Assign tasks to Claude Code & Codex agents — self-hosted platform",
    "url": "https://railway.com/deploy/multica-agent-platform",
    "upstream": {
      "repo_url": "https://github.com/RockinPaul/multica_railway_template"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "pgvector",
      "source": {
        "image": "pgvector/pgvector:pg17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Frontend",
      "source": {
        "repo": "https://github.com/RockinPaul/multica_railway_template"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Backend",
      "source": {
        "repo": "https://github.com/RockinPaul/multica_railway_template"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data/uploads",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "pgvector",
      "description": "Provide a value for PGDATA.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "pgvector",
      "description": "Provide a value for POSTGRES_DB.",
      "secret": false,
      "strategy": "default",
      "default": "multica"
    },
    {
      "key": "POSTGRES_USER",
      "service": "pgvector",
      "description": "Provide a value for POSTGRES_USER.",
      "secret": false,
      "strategy": "default",
      "default": "multica"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "pgvector",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "Frontend",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "DOCS_URL",
      "service": "Frontend",
      "description": "Provide a value for DOCS_URL.",
      "secret": false,
      "strategy": "default",
      "default": "https://multica.ai"
    },
    {
      "key": "HOSTNAME",
      "service": "Frontend",
      "description": "Provide a value for HOSTNAME.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "REMOTE_API_URL",
      "service": "Frontend",
      "description": "Provide a value for REMOTE_API_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "NEXT_PUBLIC_APP_VERSION",
      "service": "Frontend",
      "description": "Provide a value for NEXT_PUBLIC_APP_VERSION.",
      "secret": false,
      "strategy": "default",
      "default": "railway-template"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "Frontend",
      "description": "Provide a value for RAILWAY_DOCKERFILE_PATH.",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile.web"
    },
    {
      "key": "PORT",
      "service": "Backend",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "APP_ENV",
      "service": "Backend",
      "description": "Provide a value for APP_ENV.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "JWT_SECRET",
      "service": "Backend",
      "description": "Provide a value for JWT_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ALLOW_SIGNUP",
      "service": "Backend",
      "description": "Provide a value for ALLOW_SIGNUP.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_URL",
      "service": "Backend",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ALLOWED_EMAILS",
      "service": "Backend",
      "description": "Comma-separated list of specific email addresses allowed to sign up.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RESEND_API_KEY",
      "service": "Backend",
      "description": "API key for the Resend email delivery service (optional for local logs).",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "FRONTEND_ORIGIN",
      "service": "Backend",
      "description": "Provide a value for FRONTEND_ORIGIN.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MULTICA_APP_URL",
      "service": "Backend",
      "description": "Provide a value for MULTICA_APP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GOOGLE_CLIENT_ID",
      "service": "Backend",
      "description": "The Google OAuth2 Client ID for social authentication.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LOCAL_UPLOAD_DIR",
      "service": "Backend",
      "description": "Provide a value for LOCAL_UPLOAD_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/app/data/uploads"
    },
    {
      "key": "RESEND_FROM_EMAIL",
      "service": "Backend",
      "description": "The verified sender email address for Resend notifications.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ANALYTICS_DISABLED",
      "service": "Backend",
      "description": "Provide a value for ANALYTICS_DISABLED.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_MAX_CONNS",
      "service": "Backend",
      "description": "Provide a value for DATABASE_MAX_CONNS.",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "DATABASE_MIN_CONNS",
      "service": "Backend",
      "description": "Provide a value for DATABASE_MIN_CONNS.",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "GOOGLE_REDIRECT_URI",
      "service": "Backend",
      "description": "Provide a value for GOOGLE_REDIRECT_URI.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CORS_ALLOWED_ORIGINS",
      "service": "Backend",
      "description": "Provide a value for CORS_ALLOWED_ORIGINS.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GOOGLE_CLIENT_SECRET",
      "service": "Backend",
      "description": "The Google OAuth2 Client Secret for social authentication.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ALLOWED_EMAIL_DOMAINS",
      "service": "Backend",
      "description": "Comma-separated list of email domains (e.g., company.com) allowed to sign up.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LOCAL_UPLOAD_BASE_URL",
      "service": "Backend",
      "description": "Provide a value for LOCAL_UPLOAD_BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REALTIME_METRICS_TOKEN",
      "service": "Backend",
      "description": "Provide a value for REALTIME_METRICS_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "Backend",
      "description": "Provide a value for RAILWAY_DOCKERFILE_PATH.",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "multica-agent-platform"
      }
    },
    "cli": "railway deploy --template multica-agent-platform",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "97b76230-3110-4e6a-a101-3a2ee3bd91e5",
            "serializedConfig": {
              "services": {
                "33ae153d-7891-4c8c-be36-f7e88a5a3a50": {
                  "icon": "https://www.postgresql.org/media/img/about/press/elephant.png",
                  "name": "pgvector",
                  "source": {
                    "image": "pgvector/pgvector:pg17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "multica"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "multica"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "33ae153d-7891-4c8c-be36-f7e88a5a3a50": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "c1dbf2f6-6c6a-444e-b5d5-ba0358b1e864": {
                  "icon": "https://raw.githubusercontent.com/multica-ai/multica/main/docs/assets/logo-dark.svg",
                  "name": "Frontend",
                  "source": {
                    "repo": "RockinPaul/multica_railway_template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "3000"
                    },
                    "DOCS_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://multica.ai"
                    },
                    "HOSTNAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "0.0.0.0"
                    },
                    "REMOTE_API_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "http://${{backend.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "NEXT_PUBLIC_APP_VERSION": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "railway-template"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Dockerfile.web"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {}
                },
                "e597cd1e-4e46-44e1-b026-9e843229cac3": {
                  "icon": "https://raw.githubusercontent.com/multica-ai/multica/main/docs/assets/logo-dark.svg",
                  "name": "Backend",
                  "source": {
                    "repo": "RockinPaul/multica_railway_template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8080"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "production"
                    },
                    "JWT_SECRET": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "ALLOW_SIGNUP": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "postgres://${{pgvector.POSTGRES_USER}}:${{pgvector.POSTGRES_PASSWORD}}@${{pgvector.RAILWAY_PRIVATE_DOMAIN}}:5432/${{pgvector.POSTGRES_DB}}?sslmode=disable"
                    },
                    "ALLOWED_EMAILS": {
                      "isOptional": false,
                      "description": "Comma-separated list of specific email addresses allowed to sign up.",
                      "defaultValue": "{{ALLOWED_EMAILS}}"
                    },
                    "RESEND_API_KEY": {
                      "isOptional": false,
                      "description": "API key for the Resend email delivery service (optional for local logs).",
                      "defaultValue": "{{RESEND_API_KEY}}"
                    },
                    "FRONTEND_ORIGIN": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MULTICA_APP_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GOOGLE_CLIENT_ID": {
                      "isOptional": false,
                      "description": "The Google OAuth2 Client ID for social authentication.",
                      "defaultValue": "{{GOOGLE_CLIENT_ID}}"
                    },
                    "LOCAL_UPLOAD_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/app/data/uploads"
                    },
                    "RESEND_FROM_EMAIL": {
                      "isOptional": false,
                      "description": "The verified sender email address for Resend notifications.",
                      "defaultValue": "{{RESEND_FROM_EMAIL}}"
                    },
                    "ANALYTICS_DISABLED": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "DATABASE_MAX_CONNS": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "10"
                    },
                    "DATABASE_MIN_CONNS": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "2"
                    },
                    "GOOGLE_REDIRECT_URI": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{frontend.RAILWAY_PUBLIC_DOMAIN}}/auth/callback"
                    },
                    "CORS_ALLOWED_ORIGINS": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "isOptional": false,
                      "description": "The Google OAuth2 Client Secret for social authentication.",
                      "defaultValue": "{{GOOGLE_CLIENT_SECRET}}"
                    },
                    "ALLOWED_EMAIL_DOMAINS": {
                      "isOptional": false,
                      "description": "Comma-separated list of email domains (e.g., company.com) allowed to sign up.",
                      "defaultValue": "{{ALLOWED_EMAIL_DOMAINS}}"
                    },
                    "LOCAL_UPLOAD_BASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{backend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REALTIME_METRICS_TOKEN": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{REALTIME_METRICS_TOKEN}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "e597cd1e-4e46-44e1-b026-9e843229cac3": {
                      "mountPath": "/app/data/uploads"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-03T21:21:19.218Z",
  "generator_version": "0.1.0"
}
