{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a7c73a20-6c93-4963-b089-42f22793e1cc",
    "slug": "multica-self-hosted",
    "name": "Multica Self-Hosted",
    "description": "Humans and AI coding agents on one task board. Sign-up limited to you.",
    "url": "https://railway.com/deploy/multica-self-hosted",
    "upstream": {
      "image": "ghcr.io/youssefsiam38/multica-railway:1.0.0"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "db",
      "source": {
        "image": "pgvector/pgvector:0.8.7-pg17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": false
    },
    {
      "name": "multica",
      "source": {
        "image": "ghcr.io/youssefsiam38/multica-railway:1.0.0"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "POSTGRES_DB",
      "service": "db",
      "description": "Provide a value for POSTGRES_DB.",
      "secret": false,
      "strategy": "default",
      "default": "multica"
    },
    {
      "key": "POSTGRES_USER",
      "service": "db",
      "description": "Provide a value for POSTGRES_USER.",
      "secret": false,
      "strategy": "default",
      "default": "multica"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "db",
      "description": "PostgreSQL password, generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "multica",
      "description": "Port Railway routes traffic and health checks to (the front door, 8080). Keep it.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "JWT_SECRET",
      "service": "multica",
      "description": "Signs login sessions, generated. Changing it signs everyone out.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ALLOW_SIGNUP",
      "service": "multica",
      "description": "true lets anyone who finds the URL create an account (upstream default). Keep false.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "DATABASE_URL",
      "service": "multica",
      "description": "PostgreSQL connection string (bundled db service, private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DO_NOT_TRACK",
      "service": "multica",
      "description": "true stops the daily anonymous usage snapshot Multica sends to its maintainers. Set false to share it.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ALLOWED_EMAILS",
      "service": "multica",
      "description": "Your email address (comma-separate several). Only these people, plus anyone you invite, can create an account.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MULTICA_APP_URL",
      "service": "multica",
      "description": "The address you open Multica at; also the server URL for the CLI and agent daemons. Change it to https://your.domain after adding a custom domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MULTICA_VCS_SECRET_KEY",
      "service": "multica",
      "description": "Encrypts stored Git provider tokens, generated. Never change it after connecting a provider.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MULTICA_SLACK_SECRET_KEY",
      "service": "multica",
      "description": "Encrypts Slack bot tokens and enables the Slack integration, generated. Never change it after connecting Slack.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MULTICA_PLUGIN_SECRET_KEY",
      "service": "multica",
      "description": "Encrypts plugin secrets and enables plugin hooks, generated. Never change it after installing plugins.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MULTICA_TELEGRAM_SECRET_KEY",
      "service": "multica",
      "description": "Encrypts Telegram bot tokens and enables the Telegram integration, generated. Never change it after connecting a bot.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MULTICA_VCS_INTEGRATION_ENABLED",
      "service": "multica",
      "description": "Enables the self-hosted Git provider integration (Forgejo, Gitea, GitLab).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "multica",
      "description": "The first start applies ~590 database migrations.",
      "secret": false,
      "strategy": "default",
      "default": "600"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "multica-self-hosted"
      }
    },
    "cli": "railway deploy --template multica-self-hosted",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a7c73a20-6c93-4963-b089-42f22793e1cc",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "44514499-d99d-45c4-8bb4-2be019fca5ed": {
                  "icon": null,
                  "name": "db",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "pgvector/pgvector:0.8.7-pg17"
                  },
                  "variables": {
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "defaultValue": "multica"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "defaultValue": "multica"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password, generated.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "44514499-d99d-45c4-8bb4-2be019fca5ed": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                },
                "7ead35eb-bcf8-48ec-88cf-3fa796df5702": {
                  "icon": null,
                  "name": "multica",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/multica-railway:1.0.0"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes traffic and health checks to (the front door, 8080). Keep it.",
                      "defaultValue": "8080"
                    },
                    "SMTP_HOST": {
                      "isOptional": true,
                      "description": "Optional. SMTP server for sign-in codes and invitations. Without SMTP or Resend, codes and invite links are written to this service's logs."
                    },
                    "SMTP_PORT": {
                      "isOptional": true,
                      "description": "Optional. SMTP port (default 25; 465 uses implicit TLS, others STARTTLS)."
                    },
                    "JWT_SECRET": {
                      "isOptional": false,
                      "description": "Signs login sessions, generated. Changing it signs everyone out.",
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "ALLOW_SIGNUP": {
                      "isOptional": false,
                      "description": "true lets anyone who finds the URL create an account (upstream default). Keep false.",
                      "defaultValue": "false"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "PostgreSQL connection string (bundled db service, private network).",
                      "defaultValue": "postgres://multica:${{db.POSTGRES_PASSWORD}}@${{db.RAILWAY_PRIVATE_DOMAIN}}:5432/multica?sslmode=disable"
                    },
                    "DO_NOT_TRACK": {
                      "isOptional": false,
                      "description": "true stops the daily anonymous usage snapshot Multica sends to its maintainers. Set false to share it.",
                      "defaultValue": "true"
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": true,
                      "description": "Optional. SMTP password."
                    },
                    "SMTP_USERNAME": {
                      "isOptional": true,
                      "description": "Optional. SMTP user name."
                    },
                    "ALLOWED_EMAILS": {
                      "isOptional": false,
                      "description": "Your email address (comma-separate several). Only these people, plus anyone you invite, can create an account.",
                      "defaultValue": "{{ALLOWED_EMAILS}}"
                    },
                    "RESEND_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Send email through Resend instead of SMTP (resend.com)."
                    },
                    "MULTICA_APP_URL": {
                      "isOptional": false,
                      "description": "The address you open Multica at; also the server URL for the CLI and agent daemons. Change it to https://your.domain after adding a custom domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SMTP_FROM_EMAIL": {
                      "isOptional": true,
                      "description": "Optional. Sender address for SMTP mail, e.g. multica@your.domain. Required with SMTP_HOST."
                    },
                    "GOOGLE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Optional. Google sign-in. Redirect URI: <MULTICA_APP_URL>/auth/callback."
                    },
                    "RESEND_FROM_EMAIL": {
                      "isOptional": true,
                      "description": "Optional. Sender address on a domain verified in Resend."
                    },
                    "MULTICA_LLM_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. OpenAI-compatible key for server-side helpers such as chat titles."
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Optional. Google sign-in client secret."
                    },
                    "MULTICA_LLM_BASE_URL": {
                      "isOptional": true,
                      "description": "Optional. OpenAI-compatible base URL for MULTICA_LLM_API_KEY."
                    },
                    "ALLOWED_EMAIL_DOMAINS": {
                      "isOptional": true,
                      "description": "Optional. Let everyone with an address at these domains sign up, e.g. yourcompany.com."
                    },
                    "MULTICA_VCS_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored Git provider tokens, generated. Never change it after connecting a provider.",
                      "defaultValue": "{{MULTICA_VCS_SECRET_KEY}}"
                    },
                    "MULTICA_SLACK_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Encrypts Slack bot tokens and enables the Slack integration, generated. Never change it after connecting Slack.",
                      "defaultValue": "{{MULTICA_SLACK_SECRET_KEY}}"
                    },
                    "MULTICA_LLM_DEFAULT_MODEL": {
                      "isOptional": true,
                      "description": "Optional. Model name for the server-side helpers."
                    },
                    "MULTICA_PLUGIN_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Encrypts plugin secrets and enables plugin hooks, generated. Never change it after installing plugins.",
                      "defaultValue": "{{MULTICA_PLUGIN_SECRET_KEY}}"
                    },
                    "DISABLE_WORKSPACE_CREATION": {
                      "isOptional": true,
                      "description": "Optional. true stops anyone creating new workspaces (create yours first)."
                    },
                    "MULTICA_TELEGRAM_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Encrypts Telegram bot tokens and enables the Telegram integration, generated. Never change it after connecting a bot.",
                      "defaultValue": "{{MULTICA_TELEGRAM_SECRET_KEY}}"
                    },
                    "MULTICA_VCS_INTEGRATION_ENABLED": {
                      "isOptional": false,
                      "description": "Enables the self-hosted Git provider integration (Forgejo, Gitea, GitLab).",
                      "defaultValue": "true"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "The first start applies ~590 database migrations.",
                      "defaultValue": "600"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "7ead35eb-bcf8-48ec-88cf-3fa796df5702": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "multica",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-02T22:14:46.587Z",
  "generator_version": "0.1.0"
}
