aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/.pgpass10
-rw-r--r--templates/.psqlrc3
2 files changed, 13 insertions, 0 deletions
diff --git a/templates/.pgpass b/templates/.pgpass
new file mode 100644
index 0000000..10fc8bc
--- /dev/null
+++ b/templates/.pgpass
@@ -0,0 +1,10 @@
+# pgpass - see psql(1)
+#
+# host:port:db:user:pw
+
+localhost:15432:endpoint_monitoring:postgres:testing
+localhost:5432:runeflow:postgres:testing
+localhost:25432:endpoint_monitoring:virtyx:{{ pass "virtyx/proddb" }}
+localhost:35432:metrics:virtyx:{{ pass "virtyx/metricsdb" }}
+
+# vim: ft=conf
diff --git a/templates/.psqlrc b/templates/.psqlrc
new file mode 100644
index 0000000..5a385df
--- /dev/null
+++ b/templates/.psqlrc
@@ -0,0 +1,3 @@
+\timing on
+\setenv PAGER 'pspg --no-mouse -bX --no-commandbar --no-topbar'
+\set HISTSIZE 100000