mirror of
https://github.com/axeloz/filesharing.git
synced 2025-05-06 01:53:55 +02:00
[WIP] Preparing docker env
This commit is contained in:
parent
fe7fd5a76f
commit
7c46ea952f
3 changed files with 16 additions and 3 deletions
13
.docker/vhost.conf
Normal file
13
.docker/vhost.conf
Normal 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>
|
|
@ -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' => [
|
||||||
|
|
|
@ -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'),
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue