From 7c46ea952f87718f8e9b46159de1a0392629e7ce Mon Sep 17 00:00:00 2001 From: Axel Date: Wed, 21 Jun 2023 15:02:47 +0200 Subject: [PATCH] [WIP] Preparing docker env --- .docker/vhost.conf | 13 +++++++++++++ config/filesystems.php | 4 ++-- config/orbit.php | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .docker/vhost.conf diff --git a/.docker/vhost.conf b/.docker/vhost.conf new file mode 100644 index 0000000..7c41216 --- /dev/null +++ b/.docker/vhost.conf @@ -0,0 +1,13 @@ + + + DocumentRoot /app/public + + + AllowOverride all + Require all granted + + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + diff --git a/config/filesystems.php b/config/filesystems.php index 859c0e3..8d1c23a 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -46,7 +46,7 @@ return [ 'uploads' => [ 'driver' => 'local', - 'root' => env('STORAGE_PATH', storage_path('app/uploads')), + 'root' => env('STORAGE_PATH', storage_path('content/uploads')), 'visibility' => 'private', 'permissions' => [ 'file' => [ @@ -62,7 +62,7 @@ return [ 'users' => [ 'driver' => 'local', - 'root' => env('STORAGE_PATH', storage_path('app/users')), + 'root' => env('STORAGE_PATH', storage_path('content/users')), 'visibility' => 'private', 'permissions' => [ 'file' => [ diff --git a/config/orbit.php b/config/orbit.php index 2f5c59b..d29104c 100644 --- a/config/orbit.php +++ b/config/orbit.php @@ -12,7 +12,7 @@ return [ 'paths' => [ 'content' => storage_path('content'), - 'cache' => storage_path('framework/cache/orbit'), + 'cache' => storage_path('content/orbit'), ], ];