LDAP { # For OpenLDAP, this would be a full DN to the admin for LDAP / user that can see all users user = "cn=admin,dc=planetexpress,dc=com" # Password for the admin account password = "GoodNewsEveryone" # Keep this as an empty string for OpenLDAP domain = "" # This will be the name of the LDAP field that carries the user's login id (what they enter in the username in login form) userNameAttribute = "uid" # For organization, leave empty for this demo, the domainName is what matters, and that is the LDAP structure # to search for users that require login searchBase = [ {organization = "", domainName = "ou=people,dc=planetexpress,dc=com"}, ] context { initialContextFactory = "com.sun.jndi.ldap.LdapCtxFactory" securityAuthentication = "simple" # Note: The following assumes a purely docker setup, using container_name = vinyldns-ldap providerUrl = "ldap://vinyldns-ldap:19004" providerUrl = ${?LDAP_PROVIDER_URL} } # This is only needed if keeping vinyldns user store in sync with ldap (to auto lock out users who left your # company for example) user-sync { enabled = false hours-polling-interval = 1 } } # Note: This MUST match the API or strange errors will ensure, NoCrypto should not be used for production crypto { type = "vinyldns.core.crypto.NoOpCrypto" } http.port = 9001 http.port = ${?PORTAL_PORT} data-stores = ["mysql"] # Note: The default mysql settings assume a local docker compose setup with mysql named vinyldns-mysql # follow the configuration guide to point to your mysql # Only 3 repositories are needed for portal: user, task, user-change mysql { repositories { user { } task { } user-change { } } } # You generate this yourself following https://www.playframework.com/documentation/2.7.x/ApplicationSecret play.http.secret.key = "rpkTGtoJvLIdIV?WU=0@yW^x:pcEGyAt`^p/P3G0fpbj9:uDnD@caSjCDqA0@tB=" play.http.secret.key = ${?PLAY_HTTP_SECRET_KEY}