File: config.toml.example

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (42 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# alt_document_root = '/home/git/public/assets'
# shutdown_timeout = "60s"
# trusted_cidrs_for_x_forwarded_for = []
# trusted_cidrs_for_propagation = []

[redis]
URL = "unix:/home/git/gitlab/redis/redis.socket"

[object_storage]
  provider = "AWS" # Allowed options: AWS, AzureRM, Google

[object_storage.s3]
  aws_access_key_id = "YOUR AWS ACCESS KEY"
  aws_secret_access_key = "YOUR AWS SECRET ACCESS KEY"

[object_storage.azurerm]
  azure_storage_account_name = "YOUR ACCOUNT NAME"
  azure_storage_access_key = "YOUR ACCOUNT KEY"

[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"

[metadata]
  zip_reader_limit_bytes = 104857600

[image_resizer]
  max_scaler_procs = 4 # Recommendation: CPUs / 2
  max_filesize = 250000

[[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"