# cat docker-compose.yml
...
userns_mode: 'host'
...
external_url 'https://server.corp13.un:4443'
...
- '4443:4443'
...
GITLAB_OMNIBUS_CONFIG: |
...
gitlab_rails['ldap_enabled'] = true
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
main:
label: 'LDAP'
host: '192.168.13.10'
port: 389
uid: 'uid'
bind_dn: 'uid=admin,cn=users,cn=accounts,dc=corp13,dc=un'
password: 'strongpassword'
encryption: 'plain'
active_directory: false
base: 'dc=corp13,dc=un'
EOS
ports:
...