pgweb

Pgweb Docker Image

Pgweb是一款跨平台的基于Web的PostgreSQL数据库浏览器,采用Go语言编写。

54 次收藏下载次数: 0状态:社区镜像维护者:sosedoff仓库类型:镜像最近更新:
下载命令
点击查看

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:

yaml
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

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 pgweb 镜像标签

docker pull docker.xuanyuan.run/sosedoff/pgweb:<标签>

DockerHub 原生拉取命令

docker pull sosedoff/pgweb:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告