Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/config.toml.example')
-rw-r--r--workhorse/config.toml.example19
1 files changed, 19 insertions, 0 deletions
diff --git a/workhorse/config.toml.example b/workhorse/config.toml.example
new file mode 100644
index 00000000000..78828d3875a
--- /dev/null
+++ b/workhorse/config.toml.example
@@ -0,0 +1,19 @@
+# alt_document_root = '/home/git/public/assets'
+
+[redis]
+URL = "unix:/home/git/gitlab/redis/redis.socket"
+
+[object_storage]
+ provider = "AWS" # Allowed options: AWS, AzureRM
+
+[object_storage.s3]
+ aws_access_key_id = "YOUR AWS ACCESS KEY"
+ aws_secret_access_key = "YOUR AWS SECRET ACCESS KEY"
+
+[object_store.azurerm]
+ azure_storage_account_name = "YOUR ACCOUNT NAME"
+ azure_storage_access_key = "YOUR ACCOUNT KEY"
+
+[image_resizer]
+ max_scaler_procs = 4 # Recommendation: CPUs / 2
+ max_filesize = 250000