{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6999c12d-eb6c-4bd0-a233-244cad2d60b6",
    "slug": "colanode",
    "name": "Colanode",
    "description": "Open-source Notion alternative with local-first data control.",
    "url": "https://railway.com/deploy/colanode",
    "upstream": {
      "image": "ghcr.io/colanode/server"
    }
  },
  "services": [
    {
      "name": "Colanode Server",
      "source": {
        "image": "ghcr.io/colanode/server"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "pgvector",
      "source": {
        "image": "pgvector/pgvector:pg17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    },
    {
      "name": "Colanode Web",
      "source": {
        "image": "ghcr.io/colanode/web"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "MinIO Console",
      "source": {
        "repo": "https://github.com/railwayapp-templates/minio-console"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "MinIO Bucket",
      "source": {
        "image": "minio/minio:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDIS_DB",
      "service": "Colanode Server",
      "description": "Redis database number to use",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "REDIS_URL",
      "service": "Colanode Server",
      "description": "Complete Redis connection string with authentication",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AI_ENABLED",
      "service": "Colanode Server",
      "description": "Enables/disables experimental AI integration features",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SERVER_MODE",
      "service": "Colanode Server",
      "description": "Deployment mode - standalone or k8s cluster configuration",
      "secret": false,
      "strategy": "default",
      "default": "standalone"
    },
    {
      "key": "SERVER_NAME",
      "service": "Colanode Server",
      "description": "Display name for the server shown in the desktop app",
      "secret": false,
      "strategy": "default",
      "default": "Colanode"
    },
    {
      "key": "POSTGRES_URL",
      "service": "Colanode Server",
      "description": "Complete PostgreSQL connection string with credentials and database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_ENABLED",
      "service": "Colanode Server",
      "description": "Enables/disables email functionality",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SERVER_AVATAR",
      "service": "Colanode Server",
      "description": "URL for server avatar image in the login screen",
      "secret": false,
      "strategy": "default",
      "default": "''"
    },
    {
      "key": "STORAGE_S3_BUCKET",
      "service": "Colanode Server",
      "description": "S3 bucket name for file storage",
      "secret": false,
      "strategy": "default",
      "default": "colanode"
    },
    {
      "key": "STORAGE_S3_REGION",
      "service": "Colanode Server",
      "description": "AWS region or S3-compatible storage region",
      "secret": false,
      "strategy": "default",
      "default": "us-east-1"
    },
    {
      "key": "SERVER_CORS_ORIGIN",
      "service": "Colanode Server",
      "description": "Allowed origins for Cross-Origin Resource Sharing requests",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "USER_MAX_FILE_SIZE",
      "service": "Colanode Server",
      "description": "Maximum individual file upload size (in bytes)",
      "secret": false,
      "strategy": "default",
      "default": "104857600"
    },
    {
      "key": "USER_STORAGE_LIMIT",
      "service": "Colanode Server",
      "description": "Maximum storage space per user (in bytes)",
      "secret": false,
      "strategy": "default",
      "default": "10737418240"
    },
    {
      "key": "ACCOUNT_OTP_TIMEOUT",
      "service": "Colanode Server",
      "description": "Time limit for one-time password validity (in seconds)",
      "secret": false,
      "strategy": "default",
      "default": "600"
    },
    {
      "key": "STORAGE_S3_ENDPOINT",
      "service": "Colanode Server",
      "description": "S3-compatible storage endpoint URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_S3_ACCESS_KEY",
      "service": "Colanode Server",
      "description": "Access key for S3 authentication",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_S3_SECRET_KEY",
      "service": "Colanode Server",
      "description": "Secret key for S3 authentication",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ACCOUNT_VERIFICATION_TYPE",
      "service": "Colanode Server",
      "description": "How new accounts are verified (automatic/manual/email)",
      "secret": false,
      "strategy": "default",
      "default": "automatic"
    },
    {
      "key": "STORAGE_S3_FORCE_PATH_STYLE",
      "service": "Colanode Server",
      "description": "Forces path-style URLs instead of virtual-hosted-style",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Provide a value for REDISHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Provide a value for REDISPORT.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Provide a value for REDISUSER.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDISPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis externally",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATA",
      "service": "pgvector",
      "description": "Location where the database will be initialized",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "pgvector",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "pgvector",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "pgvector",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "pgvector",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "pgvector",
      "description": "Required variable for Data panel",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "pgvector",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "pgvector",
      "description": "URL to connect to Postgres database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "pgvector",
      "description": "User to connect to Postgres DB",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "pgvector",
      "description": "SSL certificate expiry in days.",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "pgvector",
      "description": "Password to connect to DB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "pgvector",
      "description": "Public URL to connect to Postgres database, used by the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "pgvector",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "MinIO Console",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "9090"
    },
    {
      "key": "PASSWORD",
      "service": "MinIO Console",
      "description": "Provide a value for PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USERNAME",
      "service": "MinIO Console",
      "description": "Provide a value for USERNAME.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CONSOLE_MINIO_SERVER",
      "service": "MinIO Console",
      "description": "Provide a value for CONSOLE_MINIO_SERVER.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "MinIO Bucket",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_ROOT_USER",
      "service": "MinIO Bucket",
      "description": "Provide a value for MINIO_ROOT_USER.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MINIO_PUBLIC_HOST",
      "service": "MinIO Bucket",
      "description": "Provide a value for MINIO_PUBLIC_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MINIO_PUBLIC_PORT",
      "service": "MinIO Bucket",
      "description": "Provide a value for MINIO_PUBLIC_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "443"
    },
    {
      "key": "MINIO_PRIVATE_HOST",
      "service": "MinIO Bucket",
      "description": "Provide a value for MINIO_PRIVATE_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MINIO_PRIVATE_PORT",
      "service": "MinIO Bucket",
      "description": "Provide a value for MINIO_PRIVATE_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "MINIO_ROOT_PASSWORD",
      "service": "MinIO Bucket",
      "description": "Provide a value for MINIO_ROOT_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MINIO_PUBLIC_ENDPOINT",
      "service": "MinIO Bucket",
      "description": "Provide a value for MINIO_PUBLIC_ENDPOINT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_PRIVATE_ENDPOINT",
      "service": "MinIO Bucket",
      "description": "Provide a value for MINIO_PRIVATE_ENDPOINT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_BROWSER_REDIRECT_URL",
      "service": "MinIO Bucket",
      "description": "Provide a value for MINIO_BROWSER_REDIRECT_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "colanode"
      }
    },
    "cli": "railway deploy --template colanode",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6999c12d-eb6c-4bd0-a233-244cad2d60b6",
            "serializedConfig": {
              "services": {
                "5f188168-762e-4b33-8c0d-5ee1de3ca0f2": {
                  "icon": "https://avatars.githubusercontent.com/u/185852128?s=48&v=4",
                  "name": "Colanode Server",
                  "source": {
                    "image": "ghcr.io/colanode/server"
                  },
                  "variables": {
                    "REDIS_DB": {
                      "description": "Redis database number to use",
                      "defaultValue": "0"
                    },
                    "REDIS_URL": {
                      "description": "Complete Redis connection string with authentication",
                      "defaultValue": "${{Redis.REDIS_PUBLIC_URL}}"
                    },
                    "SMTP_HOST": {
                      "isOptional": true,
                      "description": "SMTP server hostname or IP address",
                      "defaultValue": ""
                    },
                    "SMTP_PORT": {
                      "isOptional": true,
                      "description": "SMTP server port (typically 587 for TLS, 465 for SSL, 25 for plain)",
                      "defaultValue": ""
                    },
                    "SMTP_USER": {
                      "isOptional": true,
                      "description": "Username for SMTP server authentication",
                      "defaultValue": ""
                    },
                    "AI_ENABLED": {
                      "isOptional": true,
                      "description": "Enables/disables experimental AI integration features",
                      "defaultValue": "false"
                    },
                    "SERVER_MODE": {
                      "description": "Deployment mode - standalone or k8s cluster configuration",
                      "defaultValue": "standalone"
                    },
                    "SERVER_NAME": {
                      "description": "Display name for the server shown in the desktop app",
                      "defaultValue": "Colanode"
                    },
                    "POSTGRES_URL": {
                      "description": "Complete PostgreSQL connection string with credentials and database",
                      "defaultValue": "${{pgvector.DATABASE_URL}}"
                    },
                    "SMTP_ENABLED": {
                      "isOptional": true,
                      "description": "Enables/disables email functionality",
                      "defaultValue": "false"
                    },
                    "SERVER_AVATAR": {
                      "isOptional": true,
                      "description": "URL for server avatar image in the login screen",
                      "defaultValue": "''"
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": true,
                      "description": "Password for SMTP server authentication",
                      "defaultValue": ""
                    },
                    "SMTP_EMAIL_FROM": {
                      "isOptional": true,
                      "description": "Email address that appears as the sender",
                      "defaultValue": ""
                    },
                    "STORAGE_S3_BUCKET": {
                      "description": "S3 bucket name for file storage",
                      "defaultValue": "colanode"
                    },
                    "STORAGE_S3_REGION": {
                      "description": "AWS region or S3-compatible storage region",
                      "defaultValue": "us-east-1"
                    },
                    "SERVER_CORS_ORIGIN": {
                      "description": "Allowed origins for Cross-Origin Resource Sharing requests",
                      "defaultValue": "https://${{Colanode Web.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SERVER_PATH_PREFIX": {
                      "isOptional": true,
                      "description": "Custom URL path prefix (e.g., '/colanode' instead of root '/')",
                      "defaultValue": ""
                    },
                    "USER_MAX_FILE_SIZE": {
                      "description": "Maximum individual file upload size (in bytes)",
                      "defaultValue": "104857600"
                    },
                    "USER_STORAGE_LIMIT": {
                      "isOptional": false,
                      "description": "Maximum storage space per user (in bytes)",
                      "defaultValue": "10737418240"
                    },
                    "ACCOUNT_OTP_TIMEOUT": {
                      "isOptional": false,
                      "description": "Time limit for one-time password validity (in seconds)",
                      "defaultValue": "600"
                    },
                    "SERVER_CORS_MAX_AGE": {
                      "isOptional": true,
                      "description": "Cache duration for CORS preflight requests (in seconds)",
                      "defaultValue": ""
                    },
                    "STORAGE_S3_ENDPOINT": {
                      "description": "S3-compatible storage endpoint URL",
                      "defaultValue": "${{MinIO Bucket.MINIO_PRIVATE_ENDPOINT}}"
                    },
                    "SMTP_EMAIL_FROM_NAME": {
                      "isOptional": true,
                      "description": "Display name that appears as the sender",
                      "defaultValue": ""
                    },
                    "STORAGE_S3_ACCESS_KEY": {
                      "description": "Access key for S3 authentication",
                      "defaultValue": "${{MinIO Bucket.MINIO_ROOT_USER}}"
                    },
                    "STORAGE_S3_SECRET_KEY": {
                      "description": "Secret key for S3 authentication",
                      "defaultValue": "${{MinIO Bucket.MINIO_ROOT_PASSWORD}}"
                    },
                    "ACCOUNT_GOOGLE_ENABLED": {
                      "isOptional": true,
                      "description": "Enables/disables Google OAuth login functionality",
                      "defaultValue": ""
                    },
                    "ACCOUNT_GOOGLE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Google OAuth application client ID",
                      "defaultValue": ""
                    },
                    "ACCOUNT_VERIFICATION_TYPE": {
                      "isOptional": false,
                      "description": "How new accounts are verified (automatic/manual/email)",
                      "defaultValue": "automatic"
                    },
                    "STORAGE_S3_FORCE_PATH_STYLE": {
                      "description": "Forces path-style URLs instead of virtual-hosted-style",
                      "defaultValue": "true"
                    },
                    "ACCOUNT_GOOGLE_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Google OAuth application client secret",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "702ba242-32c7-452e-9a90-f39173eb61ee": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.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\""
                  },
                  "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": {
                    "702ba242-32c7-452e-9a90-f39173eb61ee": {
                      "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."
                  }
                },
                "79e80b31-90d2-402f-90c1-0acfa04af1e5": {
                  "icon": "https://devicons.railway.com/i/postgresql.svg",
                  "name": "pgvector",
                  "source": {
                    "image": "pgvector/pgvector:pg17"
                  },
                  "variables": {
                    "PGDATA": {
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "description": "User to connect to Postgres DB",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "description": "Public URL to connect to Postgres database, used by the Data panel.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    }
                  },
                  "volumeMounts": {
                    "79e80b31-90d2-402f-90c1-0acfa04af1e5": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "823792ba-1d54-4a62-8a11-3f28e7da61a0": {
                  "icon": "https://avatars.githubusercontent.com/u/185852128?s=48&v=4",
                  "name": "Colanode Web",
                  "source": {
                    "image": "ghcr.io/colanode/web"
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "9a252387-9944-453c-bfdc-da739be30640": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1706062979/MINIO_Bird_vbtpet.png",
                  "name": "MinIO Console",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec console server --host 0.0.0.0 --port $PORT\"",
                    "healthcheckPath": "/login",
                    "preDeployCommand": ""
                  },
                  "source": {
                    "repo": "railwayapp-templates/minio-console",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "9090"
                    },
                    "PASSWORD": {
                      "description": "",
                      "defaultValue": "${{MinIO Bucket.MINIO_ROOT_PASSWORD}}"
                    },
                    "USERNAME": {
                      "description": "",
                      "defaultValue": "${{MinIO Bucket.MINIO_ROOT_USER}}"
                    },
                    "CONSOLE_MINIO_SERVER": {
                      "description": "",
                      "defaultValue": "${{\"MinIO Bucket\".MINIO_PRIVATE_ENDPOINT}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "b7fd8393-ca07-4382-bc5e-fdcbc2c065e7": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1706062979/MINIO_Bird_vbtpet.png",
                  "name": "MinIO Bucket",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec minio server --address [::]:$MINIO_PRIVATE_PORT $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": "/minio/health/ready"
                  },
                  "source": {
                    "image": "minio/minio:latest"
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "${{MINIO_PRIVATE_PORT}}"
                    },
                    "MINIO_ROOT_USER": {
                      "description": "",
                      "defaultValue": "{{MINIO_ROOT_USER}}"
                    },
                    "MINIO_PUBLIC_HOST": {
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MINIO_PUBLIC_PORT": {
                      "defaultValue": "443"
                    },
                    "MINIO_PRIVATE_HOST": {
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MINIO_PRIVATE_PORT": {
                      "defaultValue": "9000"
                    },
                    "MINIO_ROOT_PASSWORD": {
                      "description": "",
                      "defaultValue": "{{MINIO_ROOT_PASSWORD}}"
                    },
                    "MINIO_PUBLIC_ENDPOINT": {
                      "defaultValue": "https://${{MINIO_PUBLIC_HOST}}:${{MINIO_PUBLIC_PORT}}"
                    },
                    "MINIO_PRIVATE_ENDPOINT": {
                      "defaultValue": "http://${{MINIO_PRIVATE_HOST}}:${{MINIO_PRIVATE_PORT}}"
                    },
                    "MINIO_BROWSER_REDIRECT_URL": {
                      "description": "",
                      "defaultValue": "https://${{MinIO Console.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "b7fd8393-ca07-4382-bc5e-fdcbc2c065e7": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "MinIO Console",
      "method": "GET",
      "path": "/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 6,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T22:30:25.212Z",
  "success_rate_30d": 0.2,
  "validation": {
    "last_run_id": "run_3463ae70f0eb4999b4f2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "BUILDING,SUCCESS,DEPLOYING,FAILED,SUCCESS,SUCCESS"
      }
    ],
    "typical_ready_seconds": 160,
    "typical_build_seconds": 71,
    "typical_start_seconds": 10,
    "slowest_service": "MinIO Console"
  }
}
