Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vincent Sellier
swh-docs
Commits
fe8bc53e
Verified
Commit
fe8bc53e
authored
1 year ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/sysadm/data-silos/postgresql/howto-connect.rst
+13
-19
13 additions, 19 deletions
docs/sysadm/data-silos/postgresql/howto-connect.rst
with
13 additions
and
19 deletions
docs/sysadm/data-silos/postgresql/howto-connect.rst
+
13
−
19
View file @
fe8bc53e
...
...
@@ -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:
::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment