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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.)