LDAP: Change development environment defaults

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2022-11-25 10:02:28 +01:00
parent f77c8bbbee
commit c7b33c195e
2 changed files with 2 additions and 7 deletions

View file

@ -24,7 +24,7 @@ debug = true
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
[[users.customattributes]]
photoprismRole = ["user"]
photoprismLogin = ["true"]
photoprismNoLogin = ["false"]
photoprismWebdav = ["true"]
[[users.capabilities]]
action = "search"

View file

@ -52,12 +52,6 @@ services:
PHOTOPRISM_LDAP_BIND_DN: "cn"
PHOTOPRISM_LDAP_BASE_DN: "dc=localssl,dc=dev"
PHOTOPRISM_LDAP_SYNC: "true"
PHOTOPRISM_LDAP_ROLE: "user"
PHOTOPRISM_LDAP_ROLE_DN: "photoprismRole"
PHOTOPRISM_LDAP_LOGIN: "true"
PHOTOPRISM_LDAP_LOGIN_DN: "photoprismLogin"
PHOTOPRISM_LDAP_WEBDAV: "false"
PHOTOPRISM_LDAP_WEBDAV_DN: "photoprismWebdav"
## OpenID Connect (pre-configured for local tests):
PHOTOPRISM_OIDC_URI: "https://keycloak.localssl.dev/auth/realms/master"
PHOTOPRISM_OIDC_INSECURE: "true"
@ -194,6 +188,7 @@ services:
KC_DB_PASSWORD: "keycloak"
## Dummy LDAP Directory Server
## Docs: https://glauth.github.io/docs/
dummy-ldap:
image: glauth/glauth-plugins:latest
container_name: dummy-ldap