about summary refs log tree commit diff
path: root/config/database.yml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-14 21:39:39 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-14 21:39:39 +0100
commitb17202ca0f19b83beb25afdba7e713a0f9329ffa (patch)
treeb37a10279062d6a595e969c1bf9fbefdb04a21a4 /config/database.yml
parent6fec8afc3f91166930c8b4dfca441a5a70a24d5b (diff)
Adding a docker-compose template for running Mastodon easily
Diffstat (limited to 'config/database.yml')
-rw-r--r--config/database.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/database.yml b/config/database.yml
index 13e176a2d..8914ab16d 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -2,6 +2,7 @@ default: &default
   adapter: postgresql
   pool: 5
   timeout: 5000
+  encoding: unicode
 
 development:
   <<: *default
@@ -16,4 +17,7 @@ test:
 
 production:
   <<: *default
-  database: mastodon_production
+  database: postgres
+  username: postgres
+  password:
+  host: db