my-env.startup.yaml.example 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # This is the default image startup configuration file
  2. # this file define environment variables used during the container **first start** in **startup files**.
  3. # This file is deleted right after startup files are processed for the first time,
  4. # after that all these values will not be available in the container environment.
  5. # This helps to keep your container configuration secret.
  6. # more information : https://github.com/osixia/docker-light-baseimage
  7. # Required and used for new ldap server only
  8. LDAP_ORGANISATION: Example Inc.
  9. LDAP_DOMAIN: example.org
  10. LDAP_BASE_DN: #if empty automatically set from LDAP_DOMAIN
  11. LDAP_ADMIN_PASSWORD: admin
  12. LDAP_CONFIG_PASSWORD: config
  13. LDAP_READONLY_USER: false
  14. LDAP_READONLY_USER_USERNAME: readonly
  15. LDAP_READONLY_USER_PASSWORD: readonly
  16. LDAP_RFC2307BIS_SCHEMA: false
  17. # Backend
  18. LDAP_BACKEND: mdb
  19. # Tls
  20. LDAP_TLS: true
  21. LDAP_TLS_CRT_FILENAME: ldap.crt
  22. LDAP_TLS_KEY_FILENAME: ldap.key
  23. LDAP_TLS_DH_PARAM_FILENAME: dhparam.pem
  24. LDAP_TLS_CA_CRT_FILENAME: ca.crt
  25. LDAP_TLS_ENFORCE: false
  26. LDAP_TLS_CIPHER_SUITE: SECURE256:+SECURE128:-VERS-TLS-ALL:+VERS-TLS1.2:-RSA:-DHE-DSS:-CAMELLIA-128-CBC:-CAMELLIA-256-CBC
  27. LDAP_TLS_VERIFY_CLIENT: demand
  28. # Replication
  29. LDAP_REPLICATION: false
  30. # variables $LDAP_BASE_DN, $LDAP_ADMIN_PASSWORD, $LDAP_CONFIG_PASSWORD
  31. # are automaticaly replaced at run time
  32. # if you want to add replication to an existing ldap
  33. # adapt LDAP_REPLICATION_CONFIG_SYNCPROV and LDAP_REPLICATION_DB_SYNCPROV to your configuration
  34. # avoid using $LDAP_BASE_DN, $LDAP_ADMIN_PASSWORD and $LDAP_CONFIG_PASSWORD variables
  35. LDAP_REPLICATION_CONFIG_SYNCPROV: binddn="cn=admin,cn=config" bindmethod=simple credentials=$LDAP_CONFIG_PASSWORD searchbase="cn=config" type=refreshAndPersist retry="60 +" timeout=1 starttls=critical
  36. LDAP_REPLICATION_DB_SYNCPROV: binddn="cn=admin,$LDAP_BASE_DN" bindmethod=simple credentials=$LDAP_ADMIN_PASSWORD searchbase="$LDAP_BASE_DN" type=refreshAndPersist interval=00:00:00:10 retry="60 +" timeout=1 starttls=critical
  37. LDAP_REPLICATION_HOSTS:
  38. - ldap://ldap.example.org # The order must be the same on all ldap servers
  39. - ldap://ldap2.example.org
  40. # Do not change the ldap config
  41. # - If set to true with an existing database, config will remain unchanged. Image tls and replication config will not be run.
  42. # The container can be started with LDAP_ADMIN_PASSWORD and LDAP_CONFIG_PASSWORD empty or filled with fake data.
  43. # - If set to true when bootstrapping a new database, bootstap ldif and schema will not be added and tls and replication config will not be run.
  44. KEEP_EXISTING_CONFIG: false
  45. # Remove config after setup
  46. LDAP_REMOVE_CONFIG_AFTER_SETUP: true
  47. # ssl-helper environment variables prefix
  48. LDAP_SSL_HELPER_PREFIX: ldap # ssl-helper first search config from LDAP_SSL_HELPER_* variables, before SSL_HELPER_* variables.