Skip to content

Commit 6ff9ff4

Browse files
committed
feat: change default minio config to support pre-signed urls
Signed-off-by: Carl Schwan <[email protected]>
1 parent fade46f commit 6ff9ff4

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docker/configs/storage.config.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
'bucket' => 'nc-' . $hostname,
2121
'key' => 'nextcloud',
2222
'secret' => 'nextcloud',
23-
'hostname' => 'minio',
24-
'port' => '9000',
23+
'hostname' => 'minio.local',
24+
'port' => '80',
25+
'proxy' => 'http://minio:9000',
2526
'use_ssl' => false,
2627
'use_path_style' => true,
28+
'use_presigned_url' => true,
2729
'autocreate' => true,
2830
'verify_bucket_exists' => true,
2931
),
@@ -42,11 +44,13 @@
4244
'bucket' => 'nc-' . $hostname,
4345
'key' => 'nextcloud',
4446
'secret' => 'nextcloud',
45-
'hostname' => 'minio',
46-
'port' => '9000',
47+
'hostname' => 'minio.local',
48+
'port' => '80',
49+
'proxy' => 'http://minio:9000',
50+
'use_presigned_url' => true,
4751
'use_ssl' => false,
4852
'use_path_style' => true,
4953
),
5054
),
5155
];
52-
}
56+
}

0 commit comments

Comments
 (0)