Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|
*/

'default' => env('CACHE_DRIVER', 'database'),
'default' => env('CACHE_DRIVER', 'file'),

/*
|--------------------------------------------------------------------------
Expand Down
6 changes: 6 additions & 0 deletions docker/deploy/etc/s6-overlay/scripts/laravel-automations
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ chown -R webuser:webgroup $WEBUSER_HOME/storage
echo "✅ Permissions fixed."
echo ""

# Build cache
echo "🧹 Clearing any previous caches..."
s6-setuidgid webuser php $WEBUSER_HOME/artisan optimize:clear --no-ansi -q
echo "✅ Cache cleared."
echo ""

if [ ${DB_CONNECTION:="sqlite"} = "sqlite" ]; then
# create symlinks
echo "🔗 Creating database symlink..."
Expand Down