mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
30 lines
993 B
Ruby
30 lines
993 B
Ruby
external_url '__GENERATED_EXTERNAL_URL__'
|
|
|
|
gitlab_rails['ldap_enabled'] = true
|
|
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below
|
|
main: # 'main' is the GitLab 'provider ID' of this LDAP server
|
|
label: 'LDAP'
|
|
host: 'localhost'
|
|
port: 389
|
|
uid: 'uid'
|
|
encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
|
|
bind_dn: ''
|
|
password: ''
|
|
active_directory: false
|
|
allow_username_or_email_login: false
|
|
block_auto_created_users: false
|
|
base: 'ou=users,dc=yunohost,dc=org'
|
|
user_filter: ''
|
|
EOS
|
|
|
|
nginx['listen_port'] = __PORT__
|
|
nginx['listen_https'] = false
|
|
nginx['listen_addresses'] = ["0.0.0.0", "[::]"] # listen on all IPv4 and IPv6 addresses
|
|
nginx['client_max_body_size'] = '__CLIENT_MAX_BODY_SIZE__'
|
|
|
|
unicorn['port'] = __PORTUNICORN__
|
|
|
|
# https://docs.gitlab.com/ee/install/requirements.html#unicorn-workers
|
|
unicorn['worker_processes'] = __UNICORN_WORKER_PROCESSES__
|
|
|
|
sidekiq['concurrency'] = 5 # base: 25
|