aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-08-13 14:42:28 -0400
committerBen Burwell <ben@benburwell.com>2019-08-13 14:42:55 -0400
commit779672df6f49b46d62eb35ca2caa4095e30aaa32 (patch)
tree5cb2f35d516b3733d1725edca8e506802d4e3f3f /templates
parentb248093250e57619f868975391f548c9d80fe498 (diff)
pg: adopt
Diffstat (limited to 'templates')
-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