aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy/templates/postgresql.yml.erb
diff options
context:
space:
mode:
Diffstat (limited to 'config/deploy/templates/postgresql.yml.erb')
-rw-r--r--config/deploy/templates/postgresql.yml.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/deploy/templates/postgresql.yml.erb b/config/deploy/templates/postgresql.yml.erb
new file mode 100644
index 0000000..96a1b57
--- /dev/null
+++ b/config/deploy/templates/postgresql.yml.erb
@@ -0,0 +1,7 @@
+<%= fetch :stage %>:
+ adapter: postgresql
+ encoding: <%= fetch :pg_encoding %>
+ database: <%= fetch :pg_database %>
+ pool: <%= fetch :pg_pool %>
+ username: <%= fetch :pg_user %>
+ password: '<%= fetch :pg_password %>'