summaryrefslogtreecommitdiff
path: root/doc/administration/uploads.md
diff options
context:
space:
mode:
authorMicaël Bergeron <mbergeron@gitlab.com>2018-03-09 09:16:06 -0500
committerMicaël Bergeron <mbergeron@gitlab.com>2018-03-09 09:16:06 -0500
commitfc6587f1f21c97fa19e3ae7eaac4e9add7b107b8 (patch)
treed83947812fb500e5f437a0d672901861dae5a13e /doc/administration/uploads.md
parent6466739e2e61f790a9e1f09020dba710c4078a0f (diff)
downloadgitlab-ce-fc6587f1f21c97fa19e3ae7eaac4e9add7b107b8.tar.gz
Add proxy_download to perform proxied sending of all files
Diffstat (limited to 'doc/administration/uploads.md')
-rw-r--r--doc/administration/uploads.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/administration/uploads.md b/doc/administration/uploads.md
index df813e75770..30d8436b5c9 100644
--- a/doc/administration/uploads.md
+++ b/doc/administration/uploads.md
@@ -57,6 +57,32 @@ If you don't want to use the local disk where GitLab is installed to store the
uploads, you can use an object storage provider like AWS S3 instead.
This configuration relies on valid AWS credentials to be configured already.
+### Object Storage Settings
+
+For source installations the following settings are nested under `uploads:` and then `object_store:`. On omnibus installs they are prefixed by `uploads_object_store_`.
+
+| Setting | Description | Default |
+|---------|-------------|---------|
+| `enabled` | Enable/disable object storage | `false` |
+| `remote_directory` | The bucket name where Uploads will be stored| |
+| `background_upload` | Set to false to disable automatic upload. Option may be removed once upload is direct to S3 | `true` |
+| `proxy_download` | Set to false to disable proxying all files served. Option allows to reduce egress traffic as this allows clients to download directly from remote storage instead of proxying all data | `false` |
+| `connection` | Various connection options described below | |
+
+#### S3 compatible connection settings
+
+The connection settings match those provided by [Fog](https://github.com/fog), and are as follows:
+
+| Setting | Description | Default |
+|---------|-------------|---------|
+| `provider` | Always `AWS` for compatible hosts | AWS |
+| `aws_access_key_id` | AWS credentials, or compatible | |
+| `aws_secret_access_key` | AWS credentials, or compatible | |
+| `region` | AWS region | us-east-1 |
+| `host` | S3 compatible host for when not using AWS, e.g. `localhost` or `storage.example.com` | s3.amazonaws.com |
+| `endpoint` | Can be used when configuring an S3 compatible service such as [Minio](https://www.minio.io), by entering a URL such as `http://127.0.0.1:9000` | (optional) |
+| `path_style` | Set to true to use `host/bucket_name/object` style paths instead of `bucket_name.host/object`. Leave as false for AWS S3 | false |
+
**In Omnibus installations:**
_The uploads are stored by default in