Thanks to visit codestin.com
Credit goes to hub.docker.com

sosedoff/pgweb

By sosedoff

Updated about 2 months ago

Pgweb is a cross-platform web-based database browser for PostgreSQL, written in Go

Image
52

10M+

sosedoff/pgweb repository overview

Basic Usage

Start using Pgweb with Docker:

# Pull the image
docker pull sosedoff/pgweb

# Start the container
docker run -p 8081:8081 sosedoff/pgweb

You should be able to view the UI at http://localhost:8081

Using with Docker Compose

Create a docker-compose.yml file:

pgweb:
  container_name: pgweb
  restart: always
  image: sosedoff/pgweb
  ports: 
    - "8081:8081" 
  links: 
    - postgres:postgres  # my database container is called postgres, not db
  environment:
    - DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable
  depends_on:
    - postgres

Then start with:

docker-compose up

Tag summary

Content type

Image

Digest

sha256:a5256d416

Size

65.5 MB

Last updated

about 2 months ago

Requires Docker Desktop 4.37.1 or later.