{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ef069412-fc6a-4a35-a81e-720b266b4e2a",
    "slug": "classroomio",
    "name": "classroomio v1",
    "description": "Simple & Beautiful Alternative to Moodle LMS, EdX, Thinkific and Teachable",
    "url": "https://railway.com/deploy/classroomio",
    "upstream": {
      "repo_url": "https://github.com/classroomio/classroomio"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "cio-dashboard",
      "source": {
        "repo": "https://github.com/classroomio/classroomio"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "cio-api",
      "source": {
        "repo": "https://github.com/classroomio/classroomio"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "cio-redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PRIVATE_APP_HOST",
      "service": "cio-dashboard",
      "description": "Specify the origin that your app will be hosted on (e.g yourlmsdomain.com)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PUBLIC_SERVER_URL",
      "service": "cio-dashboard",
      "description": "This is the URL of the `cio-api` project (e.g https://api.yourlmsorigin.com)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PUBLIC_SUPABASE_URL",
      "service": "cio-dashboard",
      "description": "Provide a value for PUBLIC_SUPABASE_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PUBLIC_IS_SELFHOSTED",
      "service": "cio-dashboard",
      "description": "No need to change this. This tells the app that this is a self-hosted instance",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PRIVATE_APP_SUBDOMAINS",
      "service": "cio-dashboard",
      "description": "If the final domain of your app is app.yourlmsorigin.com, then `app` is PRIVATE_APP_SUBDOMAINS and `yourlmsorigin.com` is PRIVATE_APP_HOST",
      "secret": false,
      "strategy": "default",
      "default": "app"
    },
    {
      "key": "PUBLIC_SUPABASE_ANON_KEY",
      "service": "cio-dashboard",
      "description": "Provide a value for PUBLIC_SUPABASE_ANON_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PRIVATE_SUPABASE_SERVICE_ROLE",
      "service": "cio-dashboard",
      "description": "Provide a value for PRIVATE_SUPABASE_SERVICE_ROLE.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDIS_URL",
      "service": "cio-api",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_HOST",
      "service": "cio-api",
      "description": "Provide a value for SMTP_HOST.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_PORT",
      "service": "cio-api",
      "description": "Provide a value for SMTP_PORT.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_USER",
      "service": "cio-api",
      "description": "Provide a value for SMTP_USER.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_PASSWORD",
      "service": "cio-api",
      "description": "Provide a value for SMTP_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PUBLIC_SUPABASE_URL",
      "service": "cio-api",
      "description": "Provide a value for PUBLIC_SUPABASE_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PUBLIC_SUPABASE_ANON_KEY",
      "service": "cio-api",
      "description": "Provide a value for PUBLIC_SUPABASE_ANON_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REDISHOST",
      "service": "cio-redis",
      "description": "Provide a value for REDISHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "cio-redis",
      "description": "Provide a value for REDISPORT.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "cio-redis",
      "description": "Provide a value for REDISUSER.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "cio-redis",
      "description": "Connection string for connecting to redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "cio-redis",
      "description": "Provide a value for REDISPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "cio-redis",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "cio-redis",
      "description": "Connection string for connecting to redis externally",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "classroomio"
      }
    },
    "cli": "railway deploy --template classroomio",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ef069412-fc6a-4a35-a81e-720b266b4e2a",
            "serializedConfig": {
              "services": {
                "72186508-7eee-45d6-b711-018be2336a34": {
                  "icon": null,
                  "name": "cio-dashboard",
                  "deploy": {
                    "startCommand": "pnpm dashboard:start",
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "classroomio/classroomio",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "PRIVATE_APP_HOST": {
                      "isOptional": false,
                      "description": "Specify the origin that your app will be hosted on (e.g yourlmsdomain.com)",
                      "defaultValue": "{{PRIVATE_APP_HOST}}"
                    },
                    "UNSPLASH_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "PUBLIC_SERVER_URL": {
                      "isOptional": false,
                      "description": "This is the URL of the `cio-api` project (e.g https://api.yourlmsorigin.com)",
                      "defaultValue": "{{PUBLIC_SERVER_URL}}"
                    },
                    "PUBLIC_SUPABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "{{PUBLIC_SUPABASE_URL}}"
                    },
                    "PUBLIC_IS_SELFHOSTED": {
                      "isOptional": false,
                      "description": "No need to change this. This tells the app that this is a self-hosted instance",
                      "defaultValue": "true"
                    },
                    "PRIVATE_APP_SUBDOMAINS": {
                      "isOptional": false,
                      "description": "If the final domain of your app is app.yourlmsorigin.com, then `app` is PRIVATE_APP_SUBDOMAINS and `yourlmsorigin.com` is PRIVATE_APP_HOST",
                      "defaultValue": "app"
                    },
                    "PUBLIC_IP_REGISTRY_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "PUBLIC_SUPABASE_ANON_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{PUBLIC_SUPABASE_ANON_KEY}}"
                    },
                    "PRIVATE_SUPABASE_SERVICE_ROLE": {
                      "isOptional": false,
                      "defaultValue": "{{PRIVATE_SUPABASE_SERVICE_ROLE}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "74bcaf2f-9fa7-4a7c-8fd9-2909c2f33712": {
                  "icon": null,
                  "name": "cio-api",
                  "deploy": {
                    "startCommand": "npm start",
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "classroomio/classroomio",
                    "branch": null,
                    "rootDirectory": "/apps/api"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{cio-redis.REDIS_URL}}?family=0"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "defaultValue": "{{SMTP_HOST}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "defaultValue": "{{SMTP_PORT}}"
                    },
                    "SMTP_USER": {
                      "isOptional": false,
                      "defaultValue": "{{SMTP_USER}}"
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{SMTP_PASSWORD}}"
                    },
                    "PUBLIC_SUPABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "{{PUBLIC_SUPABASE_URL}}"
                    },
                    "CLOUDFLARE_BUCKET_ID": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "CLOUDFLARE_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "CLOUDFLARE_ACCOUNT_ID": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "CLOUDFLARE_BUCKET_DOMAIN": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "PUBLIC_SUPABASE_ANON_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{PUBLIC_SUPABASE_ANON_KEY}}"
                    },
                    "CLOUDFLARE_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "fc4299ff-ae1e-432f-a5d5-e481c8824c3d": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "cio-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.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "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,
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "description": "Connection string for connecting to redis externally",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_TCP_PROXY_DOMAIN }}:${{ RAILWAY_TCP_PROXY_PORT }}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "fc4299ff-ae1e-432f-a5d5-e481c8824c3d": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
