{
  "manifest_version": "1.0.0",
  "template": {
    "id": "484529cd-5df9-46d6-ad63-ac72d3e8e5c0",
    "slug": "pgadmin4",
    "name": "PgAdmin 4 | Open Source PostgreSQL GUI on Railway",
    "description": "Self Host PgAdmin. Web UI,  SQL editor, ERD, Backup, Monitoring",
    "url": "https://railway.com/deploy/pgadmin4",
    "upstream": {
      "image": "dpage/pgadmin4:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "PgAdmin",
      "source": {
        "image": "dpage/pgadmin4:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/pgadmin",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "PgAdmin",
      "description": "PORT TO OPEN",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "PgAdmin",
      "description": "Run container using root user",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "PGADMIN_DEFAULT_EMAIL",
      "service": "PgAdmin",
      "description": "Default admin login email",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PGADMIN_DEFAULT_PASSWORD",
      "service": "PgAdmin",
      "description": "Default admin login password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pgadmin4"
      }
    },
    "cli": "railway deploy --template pgadmin4",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "484529cd-5df9-46d6-ad63-ac72d3e8e5c0",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "6c9508ba-f3f7-410b-9b9c-4422f4ad16a3": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/pgadmin.svg",
                  "name": "PgAdmin",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "dpage/pgadmin4:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "PORT TO OPEN",
                      "defaultValue": "80"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Run container using root user",
                      "defaultValue": "0"
                    },
                    "PGADMIN_DEFAULT_EMAIL": {
                      "isOptional": false,
                      "description": "Default admin login email",
                      "defaultValue": "{{PGADMIN_DEFAULT_EMAIL}}"
                    },
                    "PGADMIN_DEFAULT_PASSWORD": {
                      "isOptional": false,
                      "description": "Default admin login password",
                      "defaultValue": "{{PGADMIN_DEFAULT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "6c9508ba-f3f7-410b-9b9c-4422f4ad16a3": {
                      "mountPath": "/var/lib/pgadmin"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0"
}
