{
  "manifest_version": "1.0.0",
  "template": {
    "id": "bb46c838-8294-48a9-826a-7c3a3e4a4acc",
    "slug": "pgadmin-postgres-gui",
    "name": "pgAdmin — PostgreSQL Admin & Query Tool",
    "description": "Self-host pgAdmin — web GUI to manage your PostgreSQL databases",
    "url": "https://railway.com/deploy/pgadmin-postgres-gui",
    "upstream": {
      "image": "dpage/pgadmin4"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "pgadmin",
      "source": {
        "image": "dpage/pgadmin4"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "pgadmin",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5050"
    },
    {
      "key": "PGADMIN_LISTEN_PORT",
      "service": "pgadmin",
      "description": "Provide a value for PGADMIN_LISTEN_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5050"
    },
    {
      "key": "PGADMIN_DEFAULT_EMAIL",
      "service": "pgadmin",
      "description": "Email address used when setting up the initial administrator account to login to pgAdmin.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PGADMIN_LISTEN_ADDRESS",
      "service": "pgadmin",
      "description": "Provide a value for PGADMIN_LISTEN_ADDRESS.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "PGADMIN_DISABLE_POSTFIX",
      "service": "pgadmin",
      "description": "Provide a value for PGADMIN_DISABLE_POSTFIX.",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "PGADMIN_DEFAULT_PASSWORD",
      "service": "pgadmin",
      "description": "Password used when setting up the initial administrator account to login to pgAdmin.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pgadmin-postgres-gui"
      }
    },
    "cli": "railway deploy --template pgadmin-postgres-gui",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "bb46c838-8294-48a9-826a-7c3a3e4a4acc",
            "serializedConfig": {
              "services": {
                "6c5bdee8-f4f6-4440-aa2a-2f4ba1bc5c19": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "pgadmin",
                  "source": {
                    "image": "dpage/pgadmin4"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "5050"
                    },
                    "PGADMIN_LISTEN_PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "5050"
                    },
                    "PGADMIN_DEFAULT_EMAIL": {
                      "isOptional": false,
                      "description": "Email address used when setting up the initial administrator account to login to pgAdmin.",
                      "defaultValue": "{{PGADMIN_DEFAULT_EMAIL}}"
                    },
                    "PGADMIN_LISTEN_ADDRESS": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "0.0.0.0"
                    },
                    "PGADMIN_DISABLE_POSTFIX": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "True"
                    },
                    "PGADMIN_DEFAULT_PASSWORD": {
                      "isOptional": false,
                      "description": "Password used when setting up the initial administrator account to login to pgAdmin.",
                      "defaultValue": "{{PGADMIN_DEFAULT_PASSWORD}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-13T10:14:32.962Z",
  "generator_version": "0.1.0"
}
