From d327aeba2b74d171ebbb640c9c9fb1c2e311677f Mon Sep 17 00:00:00 2001 From: Pierre Jaury Date: Sat, 16 Jun 2018 23:51:33 +0200 Subject: [PATCH] Enable redis queuing by default and link horizon properly --- docker/env | 5 +++-- docker/start.sh | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docker/env b/docker/env index 0f2f9c59..a4225247 100644 --- a/docker/env +++ b/docker/env @@ -4,7 +4,7 @@ APP_KEY="${APP_KEY}" APP_DEBUG=false APP_URL=${APP_URL} -LOG_CHANNEL=stack +LOG_CHANNEL=stderr DB_CONNECTION=mysql DB_HOST=${DB_HOST} @@ -17,7 +17,8 @@ BROADCAST_DRIVER=log CACHE_DRIVER=file SESSION_DRIVER=file SESSION_LIFETIME=120 -QUEUE_DRIVER=sync +QUEUE_DRIVER=redis +HORIZON_PREFIX=horizon-pixelfed REDIS_HOST="${REDIS_HOST}" REDIS_PASSWORD=null diff --git a/docker/start.sh b/docker/start.sh index e716d8ee..a2165980 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -1,5 +1,9 @@ #!/bin/bash +set -o allexport +source .env +set +o allexport + cp -r storage.skel/* storage/ chown -R www-data:www-data storage/ php artisan migrate --force