{
  "manifest_version": "1.0.0",
  "template": {
    "id": "47cb1f99-698e-490d-b061-27d3924a474c",
    "slug": "presenton-ai-slides",
    "name": "Presenton",
    "description": "Turns a prompt or document into an editable PowerPoint presentation",
    "url": "https://railway.com/deploy/presenton-ai-slides",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/presenton-railway"
    }
  },
  "services": [
    {
      "name": "presenton",
      "source": {
        "repo": "https://github.com/gridalpha/presenton-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/app_data",
      "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
    }
  ],
  "required_inputs": [
    {
      "key": "LLM",
      "service": "presenton",
      "description": "Text provider selector",
      "secret": false,
      "strategy": "default",
      "default": "ollama"
    },
    {
      "key": "PORT",
      "service": "presenton",
      "description": "Port nginx listens on",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "OLLAMA_URL",
      "service": "presenton",
      "description": "Local model endpoint",
      "secret": false,
      "strategy": "default",
      "default": "http://localhost:11434"
    },
    {
      "key": "DATABASE_URL",
      "service": "presenton",
      "description": "PostgreSQL connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OLLAMA_MODEL",
      "service": "presenton",
      "description": "Local model pulled on first use",
      "secret": false,
      "strategy": "default",
      "default": "llama3.2:3b"
    },
    {
      "key": "START_OLLAMA",
      "service": "presenton",
      "description": "Install and run a local model daemon",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "AUTH_PASSWORD",
      "service": "presenton",
      "description": "Primary administrator password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "AUTH_USERNAME",
      "service": "presenton",
      "description": "Primary administrator username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "OLLAMA_MODELS",
      "service": "presenton",
      "description": "Model directory on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/app_data/ollama"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "presenton",
      "description": "Dockerfile used for the build",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    },
    {
      "key": "DISABLE_ANONYMOUS_TRACKING",
      "service": "presenton",
      "description": "Opt out of anonymous usage stats",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MIGRATE_DATABASE_ON_STARTUP",
      "service": "presenton",
      "description": "Run migrations at boot",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "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"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "presenton-ai-slides"
      }
    },
    "cli": "railway deploy --template presenton-ai-slides",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "47cb1f99-698e-490d-b061-27d3924a474c",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1517f912-6321-4db3-9aff-3985d371add1": {
                  "icon": "https://raw.githubusercontent.com/presenton/presenton/main/servers/nextjs/public/logo-with-bg.png",
                  "name": "presenton",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/presenton-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "LLM": {
                      "isOptional": false,
                      "description": "Text provider selector",
                      "defaultValue": "ollama"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port nginx listens on",
                      "defaultValue": "80"
                    },
                    "OLLAMA_URL": {
                      "isOptional": false,
                      "description": "Local model endpoint",
                      "defaultValue": "http://localhost:11434"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "PostgreSQL connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "OLLAMA_MODEL": {
                      "isOptional": false,
                      "description": "Local model pulled on first use",
                      "defaultValue": "llama3.2:3b"
                    },
                    "START_OLLAMA": {
                      "isOptional": false,
                      "description": "Install and run a local model daemon",
                      "defaultValue": "true"
                    },
                    "AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Primary administrator password",
                      "defaultValue": "{{AUTH_PASSWORD}}"
                    },
                    "AUTH_USERNAME": {
                      "isOptional": false,
                      "description": "Primary administrator username",
                      "defaultValue": "admin"
                    },
                    "OLLAMA_MODELS": {
                      "isOptional": false,
                      "description": "Model directory on the volume",
                      "defaultValue": "/app_data/ollama"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile used for the build",
                      "defaultValue": "Dockerfile"
                    },
                    "DISABLE_ANONYMOUS_TRACKING": {
                      "isOptional": false,
                      "description": "Opt out of anonymous usage stats",
                      "defaultValue": "true"
                    },
                    "MIGRATE_DATABASE_ON_STARTUP": {
                      "isOptional": false,
                      "description": "Run migrations at boot",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "1517f912-6321-4db3-9aff-3985d371add1": {
                      "mountPath": "/app_data"
                    }
                  }
                },
                "491c46be-4454-4264-a50d-db9f350b46f3": {
                  "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": {
                    "491c46be-4454-4264-a50d-db9f350b46f3": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T16:09:46.323Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_14672b8259924b7ebe94",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 242,
    "typical_build_seconds": 117,
    "typical_start_seconds": 30,
    "slowest_service": "presenton"
  }
}
