#847·pgweb

PGWEB_SSL_DISABLE option

Author: CharlesLLMCreated Apr 1, 2026Updated Apr 5, 2026

I am encountering some issues with Docker Compose and the image.

I just put this in my compose.yaml file:

yaml
 pgweb:
    image: sosedoff/pgweb
    restart: always
    depends_on:
      db:
        condition: service_healthy
    ports:
      - 8081:8081
    environment:
      PGWEB_DATABASE_URL: ${DATABASE_URL}

And I keep having this error

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

Would it be possible to add an env variable to disable SSL (PGWEB_SSL_DISABLE) ? Because for example I use Prisma, so I can't pass both schema and sslmode options in my database url