Page MenuHomeSoftware Heritage

docker: use dsn connection string in web.yml
ClosedPublic

Authored by douardda on Sep 27 2021, 10:12 AM.

Details

Diff Detail

Repository
rDENV Development environment
Branch
grr
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 24000
Build 37438: arc lint + arc unit

Event Timeline

vlorentz added a subscriber: vlorentz.

I don't see why (I'm guessing for simplification), but ok

This revision is now accepted and ready to land.Sep 27 2021, 10:39 AM

I don't see why (I'm guessing for simplification), but ok

I should explain a bit more, yes:

  • first, to "normalize" the way we handle pg connection w.r.t other swh components.
  • it makes it easier to write the config file without too much hardcoded constants (this is now delegated to the setup_pgsql bash function we use everywhere to generate .pg_services.conf and pgpass files.)