{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9b5a763b-4d78-40a5-8969-8d8b4184e613",
    "slug": "gel-or-just-updated-graph-relational-dat",
    "name": "Gel | (Just Updated) Graph-Relational Database With Admin UI, Data Survives Redeploys",
    "description": "Graph-relational database on Postgres, admin UI, persistent volume",
    "url": "https://railway.com/deploy/gel-or-just-updated-graph-relational-dat",
    "upstream": {
      "image": "geldata/gel:6@sha256:b3a2815a39564f2c69a71886b9acba4e4a0251f352a72ffa20c3318984a901b1"
    }
  },
  "services": [
    {
      "name": "gel",
      "source": {
        "image": "geldata/gel:6@sha256:b3a2815a39564f2c69a71886b9acba4e4a0251f352a72ffa20c3318984a901b1"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/gel",
      "tcp_ports": [
        5656
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GEL_DSN",
      "service": "gel",
      "description": "Provide a value for GEL_DSN.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GEL_PRIVATE_DSN",
      "service": "gel",
      "description": "Provide a value for GEL_PRIVATE_DSN.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "GEL_SERVER_PASSWORD",
      "service": "gel",
      "description": "Provide a value for GEL_SERVER_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "gel-or-just-updated-graph-relational-dat"
      }
    },
    "cli": "railway deploy --template gel-or-just-updated-graph-relational-dat",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9b5a763b-4d78-40a5-8969-8d8b4184e613",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "eb393054-7f67-4d67-87d6-2006d19f2631": {
                  "icon": null,
                  "name": "gel",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'echo \"gel uid=$(id -u) mount_owner=$(stat -c %u:%g /var/lib/gel)\"; export GEL_SERVER_DATADIR=/var/lib/gel/db GEL_SERVER_PORT=5656 GEL_SERVER_BIND_ADDRESS=0.0.0.0 GEL_SERVER_TLS_CERT_MODE=generate_self_signed GEL_SERVER_HTTP_ENDPOINT_SECURITY=optional GEL_SERVER_ADMIN_UI=enabled; exec docker-entrypoint.sh server'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "geldata/gel:6@sha256:b3a2815a39564f2c69a71886b9acba4e4a0251f352a72ffa20c3318984a901b1"
                  },
                  "variables": {
                    "GEL_DSN": {
                      "isOptional": false,
                      "defaultValue": "gel://admin:${{GEL_SERVER_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/main"
                    },
                    "GEL_PRIVATE_DSN": {
                      "isOptional": false,
                      "defaultValue": "gel://admin:${{GEL_SERVER_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5656/main"
                    },
                    "GEL_SERVER_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{GEL_SERVER_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5656": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:5656": {
                        "port": 5656
                      }
                    }
                  },
                  "volumeMounts": {
                    "eb393054-7f67-4d67-87d6-2006d19f2631": {
                      "mountPath": "/var/lib/gel"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-14T16:14:49.737Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-14T15:18:43.252Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_26582244b6114ec8a72a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 28,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "gel"
  }
}
