forked from mirror/pixelfed
Enable redis queuing by default and link horizon properly
This commit is contained in:
parent
4998830fa1
commit
d327aeba2b
2 changed files with 7 additions and 2 deletions
|
@ -4,7 +4,7 @@ APP_KEY="${APP_KEY}"
|
||||||
APP_DEBUG=false
|
APP_DEBUG=false
|
||||||
APP_URL=${APP_URL}
|
APP_URL=${APP_URL}
|
||||||
|
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stderr
|
||||||
|
|
||||||
DB_CONNECTION=mysql
|
DB_CONNECTION=mysql
|
||||||
DB_HOST=${DB_HOST}
|
DB_HOST=${DB_HOST}
|
||||||
|
@ -17,7 +17,8 @@ BROADCAST_DRIVER=log
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
SESSION_DRIVER=file
|
SESSION_DRIVER=file
|
||||||
SESSION_LIFETIME=120
|
SESSION_LIFETIME=120
|
||||||
QUEUE_DRIVER=sync
|
QUEUE_DRIVER=redis
|
||||||
|
HORIZON_PREFIX=horizon-pixelfed
|
||||||
|
|
||||||
REDIS_HOST="${REDIS_HOST}"
|
REDIS_HOST="${REDIS_HOST}"
|
||||||
REDIS_PASSWORD=null
|
REDIS_PASSWORD=null
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -o allexport
|
||||||
|
source .env
|
||||||
|
set +o allexport
|
||||||
|
|
||||||
cp -r storage.skel/* storage/
|
cp -r storage.skel/* storage/
|
||||||
chown -R www-data:www-data storage/
|
chown -R www-data:www-data storage/
|
||||||
php artisan migrate --force
|
php artisan migrate --force
|
||||||
|
|
Loading…
Reference in a new issue