[WIP] Preparing docker env

This commit is contained in:
Axel 2023-06-21 15:02:47 +02:00
parent fe7fd5a76f
commit 7c46ea952f
Signed by: axel
GPG key ID: 73C0A5961B6BC740
3 changed files with 16 additions and 3 deletions

13
.docker/vhost.conf Normal file
View file

@ -0,0 +1,13 @@
<VirtualHost *:80>
DocumentRoot /app/public
<Directory "/app/public">
AllowOverride all
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

View file

@ -46,7 +46,7 @@ return [
'uploads' => [ 'uploads' => [
'driver' => 'local', 'driver' => 'local',
'root' => env('STORAGE_PATH', storage_path('app/uploads')), 'root' => env('STORAGE_PATH', storage_path('content/uploads')),
'visibility' => 'private', 'visibility' => 'private',
'permissions' => [ 'permissions' => [
'file' => [ 'file' => [
@ -62,7 +62,7 @@ return [
'users' => [ 'users' => [
'driver' => 'local', 'driver' => 'local',
'root' => env('STORAGE_PATH', storage_path('app/users')), 'root' => env('STORAGE_PATH', storage_path('content/users')),
'visibility' => 'private', 'visibility' => 'private',
'permissions' => [ 'permissions' => [
'file' => [ 'file' => [

View file

@ -12,7 +12,7 @@ return [
'paths' => [ 'paths' => [
'content' => storage_path('content'), 'content' => storage_path('content'),
'cache' => storage_path('framework/cache/orbit'), 'cache' => storage_path('content/orbit'),
], ],
]; ];