Summary
This configuration adds a new swh.storage database and backend using logical
postgresql replication. On startup of the read-replica storage backend, the
replication is configured between both database hosts.
The configuration also overrides the swh.web and swh.vault containers to use the
new read-only replica.
Two extra scaffolding commits:
- Make sure to explicitly empty .pg_service.conf before adding entries
- Support overriding the host in wait_pgsql
Depends on D4022
Depends on D4024
(also requires the changes to swh.storage SQL in D3981)