Skip to content

PGWEB_SSL_DISABLE option #847

Description

@CharlesLLM

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

I just put this in my compose.yaml file:

 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions