Skip to content

v0.6.1 — docker-compose fresh clone fix

Choose a tag to compare

@tonyalaribe tonyalaribe released this 14 Apr 20:37
· 226 commits to master since this release

Fix

  • docker-compose / libpq keyword/value connection strings: addKeepaliveParams was appending ?keepalives=1&… to every connection string, which only works for URI-form URLs. With the docker-compose default DATABASE_URL=host=… sslmode=disable, the ? glued onto the last keyword's value and libpq rejected startup with:

    libpq: failed (invalid sslmode value: "disable?keepalives=1&keepalives_idle=15&...")
    

    The helper now detects URI vs keyword/value form and joins with the right separator (?/& vs space). The TimescaleDB options=… append in System.Config was routed through the same helper, so a fresh docker compose up now boots cleanly.

Full changelog: v0.6.0...v0.6.1