From ce53cd799d2b82d344d6e46f3e5b760a0246d41a Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 25 May 2016 18:14:36 +0100 Subject: [PATCH] Use PgSQL default (#78) * 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}