2018-12-16 23:05:12 +01:00
|
|
|
external_url '__GENERATED_EXTERNAL_URL__'
|
2017-06-28 16:22:57 +02:00
|
|
|
|
|
|
|
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'
|
2019-01-26 15:47:55 +01:00
|
|
|
encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
|
2017-06-28 16:22:57 +02:00
|
|
|
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
|
|
|
|
|
2018-12-16 23:05:12 +01:00
|
|
|
nginx['listen_port'] = __PORT__
|
2017-06-28 16:22:57 +02:00
|
|
|
nginx['listen_https'] = false
|
2019-01-03 19:44:04 +01:00
|
|
|
nginx['listen_addresses'] = ["0.0.0.0", "[::]"] # listen on all IPv4 and IPv6 addresses
|
2017-06-29 09:56:39 +02:00
|
|
|
|
2018-12-16 23:05:12 +01:00
|
|
|
unicorn['port'] = __PORTUNICORN__
|
2019-01-15 22:56:17 +01:00
|
|
|
|
|
|
|
unicorn['worker_processes'] = 2
|