2020-12-08 22:09:24 -05:00
|
|
|
|
# alt_document_root = '/home/git/public/assets'
|
2021-06-04 08:10:17 -04:00
|
|
|
|
# shutdown_timeout = "60s"
|
2021-07-27 02:09:01 -04:00
|
|
|
|
# trusted_cidrs_for_x_forwarded_for = []
|
|
|
|
|
# trusted_cidrs_for_propagation = []
|
2020-12-08 22:09:24 -05:00
|
|
|
|
|
2020-12-02 10:09:37 -05:00
|
|
|
|
[redis]
|
|
|
|
|
URL = "unix:/home/git/gitlab/redis/redis.socket"
|
|
|
|
|
|
|
|
|
|
[object_storage]
|
2022-10-25 08:10:36 -04:00
|
|
|
|
provider = "AWS" # Allowed options: AWS, AzureRM, Google
|
2020-12-02 10:09:37 -05:00
|
|
|
|
|
|
|
|
|
[object_storage.s3]
|
|
|
|
|
aws_access_key_id = "YOUR AWS ACCESS KEY"
|
|
|
|
|
aws_secret_access_key = "YOUR AWS SECRET ACCESS KEY"
|
|
|
|
|
|
2022-10-25 08:10:36 -04:00
|
|
|
|
[object_storage.azurerm]
|
2020-12-02 10:09:37 -05:00
|
|
|
|
azure_storage_account_name = "YOUR ACCOUNT NAME"
|
|
|
|
|
azure_storage_access_key = "YOUR ACCOUNT KEY"
|
|
|
|
|
|
2022-10-25 08:10:36 -04:00
|
|
|
|
[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"
|
|
|
|
|
|
2020-12-02 10:09:37 -05:00
|
|
|
|
[image_resizer]
|
|
|
|
|
max_scaler_procs = 4 # Recommendation: CPUs / 2
|
|
|
|
|
max_filesize = 250000
|
2022-04-25 11:08:44 -04:00
|
|
|
|
|
|
|
|
|
[[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"
|