{
  "id": "pgweb",
  "name": "Pgweb",
  "slogan": "A small web client for browsing and querying PostgreSQL databases, with a table browser, query editor and export. Runs as one container with no storage of its own. Sign in with the username and password from the install form, then enter the connection details of your database.",
  "category": "Developer Tools",
  "categorySlug": "developer-tools",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 64,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install pgweb --name my-pgweb",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/pgweb/",
  "docsUrl": "https://github.com/sosedoff/pgweb/wiki",
  "sourceRepo": "https://github.com/sosedoff/pgweb",
  "markdownUrl": "https://levelrail.com/templates/pgweb.md",
  "jsonUrl": "https://levelrail.com/templates/pgweb.json",
  "indexable": true,
  "description": "A small web client for browsing and querying PostgreSQL databases, with a table browser, query editor and export. Runs as one container with no storage of its own. Sign in with the username and password from the install form, then enter the connection details of your database.",
  "pinnedTag": "0.17.0",
  "licenseUrl": "https://github.com/sosedoff/pgweb/blob/main/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Sign in with the username and password from the install form.",
    "Enter the host, user, password and database of the Postgres server you want to browse."
  ],
  "services": [
    {
      "name": "pgweb",
      "image": "sosedoff/pgweb",
      "tag": "0.17.0",
      "ports": [
        8081
      ],
      "volumes": []
    }
  ],
  "env": [
    {
      "service": "pgweb",
      "name": "PGWEB_AUTH_PASS",
      "kind": "generated"
    },
    {
      "service": "pgweb",
      "name": "PGWEB_AUTH_USER",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install pgweb --name my-pgweb",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/pgweb/install \\\n  -d '{\n    \"name\": \"my-pgweb\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install pgweb --name my-pgweb",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain pgweb=app.example.com."
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/pgweb/install \\\n  -d '{\n    \"name\": \"my-pgweb\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
