debian-mirror-gitlab/workhorse/config.toml.example

40 lines
1 KiB
Text
Raw Normal View History

2021-02-22 17:27:13 +05:30
# alt_document_root = '/home/git/public/assets'
2021-09-04 01:27:46 +05:30
# shutdown_timeout = "60s"
2021-10-27 15:23:28 +05:30
# trusted_cidrs_for_x_forwarded_for = []
# trusted_cidrs_for_propagation = []
2021-02-22 17:27:13 +05:30
[redis]
URL = "unix:/home/git/gitlab/redis/redis.socket"
[object_storage]
2023-01-13 00:05:48 +05:30
provider = "AWS" # Allowed options: AWS, AzureRM, Google
2021-02-22 17:27:13 +05:30
[object_storage.s3]
aws_access_key_id = "YOUR AWS ACCESS KEY"
aws_secret_access_key = "YOUR AWS SECRET ACCESS KEY"
2023-01-13 00:05:48 +05:30
[object_storage.azurerm]
2021-02-22 17:27:13 +05:30
azure_storage_account_name = "YOUR ACCOUNT NAME"
azure_storage_access_key = "YOUR ACCOUNT KEY"
2023-01-13 00:05:48 +05:30
[object_storage.google]
google_application_default = true # if the application default should be used
google_json_key_string = '''
JSON KEY STRING
'''
google_json_key_location = "PATH TO JSON KEY FILE"
2021-02-22 17:27:13 +05:30
[image_resizer]
max_scaler_procs = 4 # Recommendation: CPUs / 2
max_filesize = 250000
2022-07-16 23:28:13 +05:30
[[listeners]]
network = "tcp"
addr = "127.0.0.1:3443"
[listeners.tls]
certificate = "/path/to/certificate"
key = "/path/to/private/key"
min_version = "tls1.2"
max_version = "tls1.3"