From 0e2db7d6e6da0f9b9d789a1133094d4d2d96f3cd Mon Sep 17 00:00:00 2001
From: Ryan Trauntvein <djdefi@users.noreply.github.com>
Date: Fri, 27 May 2016 11:09:47 -0700
Subject: [PATCH] Use PgSQL default (#78) (#79)

* Use PgSQL default

* change DB_HOST default
---
 docker/entrypoint.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 02028a2e..831502bf 100755
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -34,11 +34,12 @@ initialize_system() {
   APP_URL=${APP_URL:-http://localhost}
   APP_KEY=${APP_KEY:-SECRET}
 
-  DB_DRIVER=${DB_DRIVER:-mysql}
-  DB_HOST=${DB_HOST:-mysql}
+  DB_DRIVER=${DB_DRIVER:-pgsql}
+  DB_HOST=${DB_HOST:-postgres}
   DB_DATABASE=${DB_DATABASE:-cachet}
-  DB_USERNAME=${DB_USERNAME:-cachet}
-  DB_PASSWORD=${DB_PASSWORD:-cachet}
+  DB_USERNAME=${DB_USERNAME:-postgres}
+  DB_PASSWORD=${DB_PASSWORD:-postgres}
+  DB_PORT=${DB_PORT:-5432}
 
   CACHE_DRIVER=${CACHE_DRIVER:-apc}
   SESSION_DRIVER=${SESSION_DRIVER:-apc}