objectstore_s3_config.php.j2 689 B

1234567891011121314151617
  1. <?php
  2. $CONFIG = array (
  3. 'objectstore' => [
  4. 'class' => '\\OC\\Files\\ObjectStore\\S3',
  5. 'arguments' => [
  6. 'bucket' => '{{ objectstore_s3_bucket_name | default('nextcloud') }}',
  7. 'autocreate' => true,
  8. 'key' => '{{ objectstore_s3_key }}',
  9. 'secret' => '{{ objectstore_s3_secret }}',
  10. 'hostname' => '{{ objectstore_s3_hostname | default('s3.amazonaws.com') }}',
  11. 'port' => '{{ objectstore_s3_port | default('') }}',
  12. 'use_ssl' => {{ objectstore_s3_use_ssl | default('true') }},
  13. 'region' => '{{ objectstore_s3_region | default('us-east-1') }}',
  14. 'use_path_style' => {{ objectstore_s3_use_path_style | default('true') }}
  15. ],
  16. ],
  17. );