PGWEB_SSL_DISABLE 选项
作者: CharlesLLM创建于 2026年4月1日更新于 2026年4月5日
我在使用 Docker Compose 和图像时遇到了一些问题。 我刚刚在我的 compose.yaml 文件中添加了以下内容:
pgweb:
image: sosedoff/pgweb
restart: always
depends_on:
db:
condition: service_healthy
ports:
- 8081:8081
environment:
PGWEB_DATABASE_URL: ${DATABASE_URL}但是我一直都会收到以下错误:
Pgweb v0.17.0 (git: 6b0b0244) (go: go1.24.6) (build time: 2025-11-22T15:32:28Z) (arch: linux/amd64)
Connecting to server...
Error: pq: SSL is not enabled on the server内容来源: sosedoff/pgweb