2019-10-08 19:13:15 -04:00
|
|
|
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"
|
|
|
|
|
2021-10-20 09:07:19 -04:00
|
|
|
# For organization, leave empty for this demo, the domainName is what matters, and that is the LDAP structure
|
2019-10-08 19:13:15 -04:00
|
|
|
# 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
|
2021-10-20 09:07:19 -04:00
|
|
|
providerUrl = "ldap://vinyldns-ldap:19004"
|
|
|
|
providerUrl = ${?LDAP_PROVIDER_URL}
|
2019-10-08 19:13:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
# 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
|
2021-11-01 12:25:17 -04:00
|
|
|
http.port = ${?PORTAL_PORT}
|
2019-10-08 19:13:15 -04:00
|
|
|
|
|
|
|
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="
|
2021-11-01 12:25:17 -04:00
|
|
|
play.http.secret.key = ${?PLAY_HTTP_SECRET_KEY}
|