{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2bd82c45-05cf-4b89-80d6-b668c2d6fe95",
    "slug": "LjpcWZ",
    "name": "Rallly",
    "description": "Streamline your scheduling process and save time",
    "url": "https://railway.com/deploy/LjpcWZ",
    "upstream": {
      "image": "lukevella/rallly:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Rallly",
      "source": {
        "image": "lukevella/rallly:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Rallly",
      "description": "Internal port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "SMTP_PWD",
      "service": "Rallly",
      "description": "The password (if auth is enabled on your SMTP server)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OIDC_NAME",
      "service": "Rallly",
      "description": "The user-facing name of your provider as it will be shown on the login page",
      "secret": false,
      "strategy": "default",
      "default": "OpenID Connect"
    },
    {
      "key": "SMTP_HOST",
      "service": "Rallly",
      "description": "The host address of your SMTP server",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_PORT",
      "service": "Rallly",
      "description": "The port of your SMTP server",
      "secret": false,
      "strategy": "default",
      "default": "465"
    },
    {
      "key": "SMTP_USER",
      "service": "Rallly",
      "description": "The username (if auth is enabled on your SMTP server)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_SECURE",
      "service": "Rallly",
      "description": "Set to “true” if SSL is enabled for your SMTP connection",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_URL",
      "service": "Rallly",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPPORT_EMAIL",
      "service": "Rallly",
      "description": "This email will be shown as the contact email for support queries.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SECRET_PASSWORD",
      "service": "Rallly",
      "description": "A random 32-character secret key used to encrypt user sessions.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SMTP_TLS_ENABLED",
      "service": "Rallly",
      "description": "Set to “true” if TLS is enabled for your SMTP connection",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NEXT_PUBLIC_BASE_URL",
      "service": "Rallly",
      "description": "The base url where this instance is accessible, including the scheme, the domain name, and optionally a port.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "On-disk database location",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Public host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Public Port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Database username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Default database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_DSN",
      "service": "Postgres",
      "description": "Public DSN",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Public URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database username",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "PGHOST_PRIVATE",
      "service": "Postgres",
      "description": "Private host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT_PRIVATE",
      "service": "Postgres",
      "description": "Private Port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Database password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PRIVATE_DSN",
      "service": "Postgres",
      "description": "Private DSN",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_PRIVATE_URL",
      "service": "Postgres",
      "description": "Private URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "LjpcWZ"
      }
    },
    "cli": "railway deploy --template LjpcWZ",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2bd82c45-05cf-4b89-80d6-b668c2d6fe95",
            "serializedConfig": {
              "services": {
                "d1b5e9d6-6cf1-4b3c-8e54-72d4109e7a51": {
                  "name": "Rallly",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"sleep 3 && ./docker-start.sh\"",
                    "healthcheckPath": "/login"
                  },
                  "source": {
                    "image": "lukevella/rallly:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Internal port",
                      "defaultValue": "3000"
                    },
                    "SMTP_PWD": {
                      "isOptional": false,
                      "description": "The password (if auth is enabled on your SMTP server)",
                      "defaultValue": "{{SMTP_PWD}}"
                    },
                    "OIDC_NAME": {
                      "isOptional": true,
                      "description": "The user-facing name of your provider as it will be shown on the login page",
                      "defaultValue": "OpenID Connect"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "The host address of your SMTP server",
                      "defaultValue": "{{SMTP_HOST}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "The port of your SMTP server",
                      "defaultValue": "465"
                    },
                    "SMTP_USER": {
                      "isOptional": false,
                      "description": "The username (if auth is enabled on your SMTP server)",
                      "defaultValue": "{{SMTP_USER}}"
                    },
                    "SMTP_SECURE": {
                      "isOptional": false,
                      "description": "Set to “true” if SSL is enabled for your SMTP connection",
                      "defaultValue": "true"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Postgres.DATABASE_PRIVATE_URL}}"
                    },
                    "SUPPORT_EMAIL": {
                      "isOptional": false,
                      "description": "This email will be shown as the contact email for support queries.",
                      "defaultValue": "{{SUPPORT_EMAIL}}"
                    },
                    "ALLOWED_EMAILS": {
                      "isOptional": true,
                      "description": "Comma-separated list of email addresses that are allowed to register and login (wildcards are supported)",
                      "defaultValue": ""
                    },
                    "OIDC_CLIENT_ID": {
                      "isOptional": true,
                      "description": "The client ID of your OIDC application"
                    },
                    "SECRET_PASSWORD": {
                      "isOptional": false,
                      "description": "A random 32-character secret key used to encrypt user sessions.",
                      "defaultValue": "{{SECRET_PASSWORD}}"
                    },
                    "SMTP_TLS_ENABLED": {
                      "isOptional": false,
                      "description": "Set to “true” if TLS is enabled for your SMTP connection",
                      "defaultValue": "true"
                    },
                    "OIDC_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "The client secret of your OIDC application"
                    },
                    "OIDC_DISCOVERY_URL": {
                      "isOptional": true,
                      "description": "URL of the '.well-known/openid-configuration' endpoint for your OIDC provider"
                    },
                    "NEXT_PUBLIC_BASE_URL": {
                      "isOptional": false,
                      "description": "The base url where this instance is accessible, including the scheme, the domain name, and optionally a port.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                },
                "df60be2f-b78a-4f90-8b34-fb126fb3a71a": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:latest"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "On-disk database location",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Public host",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Public Port",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Database username",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Default database",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database",
                      "defaultValue": "railway"
                    },
                    "DATABASE_DSN": {
                      "isOptional": false,
                      "description": "Public DSN",
                      "defaultValue": "${{PGUSER}}:${{POSTGRES_PASSWORD}}@tcp(${{PGHOST}}:${{PGPORT}})/${{PGDATABASE}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Public URL",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{PGHOST}}:${{PGPORT}}/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database username",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry",
                      "defaultValue": "820"
                    },
                    "PGHOST_PRIVATE": {
                      "isOptional": false,
                      "description": "Private host",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT_PRIVATE": {
                      "isOptional": false,
                      "description": "Private Port",
                      "defaultValue": "5432"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PRIVATE_DSN": {
                      "isOptional": false,
                      "description": "Private DSN",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@tcp(${{PGHOST_PRIVATE}}:${{PGPORT_PRIVATE}})/${{PGDATABASE}}"
                    },
                    "DATABASE_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "Private URL",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{PGHOST_PRIVATE}}:${{PGPORT_PRIVATE}}/${{PGDATABASE}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "df60be2f-b78a-4f90-8b34-fb126fb3a71a": {
                      "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."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Rallly",
      "method": "GET",
      "path": "/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T04:14:41.730Z",
  "generator_version": "0.1.0"
}
