Skip to content
Snippets Groups Projects
Verified Commit fe8bc53e authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

postgresql/howto-connect: Migrate db references

Refs. swh/infra/sysadm-environment#5069
parent 507716e5
No related branches found
No related tags found
No related merge requests found
......@@ -36,41 +36,47 @@ Sample |pg_service|
[swh]
dbname=softwareheritage
host=db.internal.softwareheritage.org
host=postgresql-storage-rw.internal.softwareheritage.org
user=guest
[swh-replica]
dbname=softwareheritage
host=somerset.internal.softwareheritage.org
host=postgresql-storage-replica.internal.softwareheritage.org
user=guest
port=5432
[swh-deposit]
dbname=softwareheritage-deposit
host=db.internal.softwareheritage.org
host=postgresql-deposit-rw.internal.softwareheritage.org
user=guest
port=5432
[swh-indexer]
dbname=softwareheritage-indexer
host=belvedere.internal.softwareheritage.org
host=postgresql-indexer-rw.internal.softwareheritage.org
user=guest
port=5432
[swh-scheduler]
dbname=softwareheritage-scheduler
host=db.internal.softwareheritage.org
host=postgresql-scheduler-rw.internal.softwareheritage.org
user=guest
[swh-vault]
dbname=swh-vault
host=postgresql-vault-rw.internal.softwareheritage.org
port=5432
user=guest
[swh-scrubber]
dbname=swh-scrubber
host=db.internal.softwareheritage.org
host=postgresql-scrubber-rw.internal.softwareheritage.org
port=5432
user=guest
[admin-swh-scrubber]
dbname=swh-scrubber
host=db.internal.softwareheritage.org
host=postgresql-scrubber-rw.internal.softwareheritage.org
port=5432
user=swh-scrubber
......@@ -146,18 +152,6 @@ Sample |pg_service|
port=5432
user=swh-vault
[staging-swh-lister]
dbname=swh-lister
host=db1.internal.staging.swh.network
port=5432
user=guest
[admin-staging-swh-lister]
dbname=swh-lister
host=db1.internal.staging.swh.network
port=5432
user=swh-lister
With this file, you can connect to any DB like this:
::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment