{
  "manifest_version": "1.0.0",
  "template": {
    "id": "980142f5-23bb-413e-803b-dd6fb4fde16c",
    "slug": "colanode-app",
    "name": "Colanode",
    "description": "Collaboration workspace with team chat, pages and databases",
    "url": "https://railway.com/deploy/colanode-app",
    "upstream": {
      "image": "ghcr.io/colanode/web:latest"
    }
  },
  "services": [
    {
      "name": "colanode-web",
      "source": {
        "image": "ghcr.io/colanode/web:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "colanode-server",
      "source": {
        "repo": "https://github.com/gridalpha/colanode-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "colanode-web",
      "description": "Port Railway health-checks",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE",
      "service": "colanode-web",
      "description": "Size nginx workers from cgroup",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PORT",
      "service": "colanode-server",
      "description": "Port Railway health-checks",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "LOG_LEVEL",
      "service": "colanode-server",
      "description": "Server log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "REDIS_URL",
      "service": "colanode-server",
      "description": "Redis connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_BUCKET",
      "service": "colanode-server",
      "description": "Bucket holding uploaded files",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "colanode-server",
      "description": "Bucket placement region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AI_ENABLED",
      "service": "colanode-server",
      "description": "Assistant and semantic search toggle",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "WEB_DOMAIN",
      "service": "colanode-server",
      "description": "Host used in invitation links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CORS_ORIGIN",
      "service": "colanode-server",
      "description": "Allowed browser origin",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "colanode-server",
      "description": "Object storage endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SERVER_MODE",
      "service": "colanode-server",
      "description": "standalone or cluster event bus",
      "secret": false,
      "strategy": "default",
      "default": "standalone"
    },
    {
      "key": "SERVER_NAME",
      "service": "colanode-server",
      "description": "Name shown in client server list",
      "secret": false,
      "strategy": "default",
      "default": "Colanode"
    },
    {
      "key": "POSTGRES_URL",
      "service": "colanode-server",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_TYPE",
      "service": "colanode-server",
      "description": "Storage backend selector",
      "secret": false,
      "strategy": "default",
      "default": "s3"
    },
    {
      "key": "EMAIL_ENABLED",
      "service": "colanode-server",
      "description": "Outbound SMTP mail toggle",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "MAX_FILE_SIZE",
      "service": "colanode-server",
      "description": "Upload ceiling in bytes",
      "secret": false,
      "strategy": "default",
      "default": "524288000"
    },
    {
      "key": "S3_ACCESS_KEY",
      "service": "colanode-server",
      "description": "Bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_SECRET_KEY",
      "service": "colanode-server",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_FORCE_PATH_STYLE",
      "service": "colanode-server",
      "description": "Path-style S3 addressing",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "JOBS_CLEANUP_ENABLED",
      "service": "colanode-server",
      "description": "Orphan row and file cleanup",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ACCOUNT_VERIFICATION_TYPE",
      "service": "colanode-server",
      "description": "Registration verification mode",
      "secret": false,
      "strategy": "default",
      "default": "automatic"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "colanode-server",
      "description": "Health check window, seconds",
      "secret": false,
      "strategy": "default",
      "default": "300"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auth password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "colanode-app"
      }
    },
    "cli": "railway deploy --template colanode-app",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "980142f5-23bb-413e-803b-dd6fb4fde16c",
            "serializedConfig": {
              "buckets": {
                "eccea17d-0ec5-485e-b791-b8c898abe4a5": {
                  "name": "colanode-files"
                }
              },
              "services": {
                "4c9de9af-e401-49c4-ba6d-7b95711a18ec": {
                  "icon": "https://cdn.jsdelivr.net/gh/colanode/colanode@v0.4.7/assets/images/colanode-logo.png",
                  "name": "colanode-web",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/colanode/web:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks",
                      "defaultValue": "80"
                    },
                    "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE": {
                      "isOptional": false,
                      "description": "Size nginx workers from cgroup",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  }
                },
                "5271fc42-250d-4703-9679-6443e8e0e049": {
                  "icon": "https://cdn.jsdelivr.net/gh/colanode/colanode@v0.4.7/assets/images/colanode-logo.png",
                  "name": "colanode-server",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/config",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/colanode-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks",
                      "defaultValue": "3000"
                    },
                    "LOG_LEVEL": {
                      "isOptional": true,
                      "description": "Server log verbosity",
                      "defaultValue": "info"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection string",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket holding uploaded files",
                      "defaultValue": "${{colanode-files.BUCKET}}"
                    },
                    "S3_REGION": {
                      "isOptional": false,
                      "description": "Bucket placement region",
                      "defaultValue": "${{colanode-files.REGION}}"
                    },
                    "AI_ENABLED": {
                      "isOptional": true,
                      "description": "Assistant and semantic search toggle",
                      "defaultValue": "false"
                    },
                    "WEB_DOMAIN": {
                      "isOptional": false,
                      "description": "Host used in invitation links",
                      "defaultValue": "${{colanode-web.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CORS_ORIGIN": {
                      "isOptional": false,
                      "description": "Allowed browser origin",
                      "defaultValue": "https://${{colanode-web.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "Object storage endpoint",
                      "defaultValue": "${{colanode-files.ENDPOINT}}"
                    },
                    "SERVER_MODE": {
                      "isOptional": true,
                      "description": "standalone or cluster event bus",
                      "defaultValue": "standalone"
                    },
                    "SERVER_NAME": {
                      "isOptional": true,
                      "description": "Name shown in client server list",
                      "defaultValue": "Colanode"
                    },
                    "POSTGRES_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "STORAGE_TYPE": {
                      "isOptional": true,
                      "description": "Storage backend selector",
                      "defaultValue": "s3"
                    },
                    "EMAIL_ENABLED": {
                      "isOptional": true,
                      "description": "Outbound SMTP mail toggle",
                      "defaultValue": "false"
                    },
                    "MAX_FILE_SIZE": {
                      "isOptional": true,
                      "description": "Upload ceiling in bytes",
                      "defaultValue": "524288000"
                    },
                    "S3_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket access key",
                      "defaultValue": "${{colanode-files.ACCESS_KEY_ID}}"
                    },
                    "S3_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{colanode-files.SECRET_ACCESS_KEY}}"
                    },
                    "S3_FORCE_PATH_STYLE": {
                      "isOptional": true,
                      "description": "Path-style S3 addressing",
                      "defaultValue": "true"
                    },
                    "JOBS_CLEANUP_ENABLED": {
                      "isOptional": true,
                      "description": "Orphan row and file cleanup",
                      "defaultValue": "true"
                    },
                    "ACCOUNT_VERIFICATION_TYPE": {
                      "isOptional": true,
                      "description": "Registration verification mode",
                      "defaultValue": "automatic"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "Health check window, seconds",
                      "defaultValue": "300"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                },
                "7b6f916c-b5c7-4762-9694-2252e440f2f3": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "7b6f916c-b5c7-4762-9694-2252e440f2f3": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "ae9afd94-f00d-4423-8fd0-07acf52c276f": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/redis.svg",
                  "name": "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\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth password, read by the server",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "ae9afd94-f00d-4423-8fd0-07acf52c276f": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "colanode-web",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-16T22:14:52.145Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-16T20:16:32.843Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_7ac6312f0a1e41dda9bc",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ]
  }
}
