From 4b6128cac648562e57265eefc3911d5b2ffbf05b Mon Sep 17 00:00:00 2001 From: Gabe Date: Sat, 31 Jan 2026 04:38:44 +0000 Subject: [PATCH] Add DAV_Containers/Webdav_Server/testing.yaml --- DAV_Containers/Webdav_Server/testing.yaml | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 DAV_Containers/Webdav_Server/testing.yaml diff --git a/DAV_Containers/Webdav_Server/testing.yaml b/DAV_Containers/Webdav_Server/testing.yaml new file mode 100644 index 0000000..4161c2c --- /dev/null +++ b/DAV_Containers/Webdav_Server/testing.yaml @@ -0,0 +1,42 @@ +services: + webdav: + image: ghcr.io/vaggeliskls/webdav-server:latest + restart: unless-stopped + container_name: WebDAV + volumes: + - /srv/docker/Webdav:/var/lib/dav + - /srv/docker/Webdav/user.passwd:/user.passwd + environment: + # WebDAV Server Configuration + WEBDAV_OPERATIONS="GET OPTIONS PROPFIND" + # LDAP Configuration + LDAP_ENABLED=false + LDAP_URL=ldaps://ldap.example.com + LDAP_ATTRIBUTE=uid + LDAP_BASE_DN=ou=users,dc=example,dc=com + LDAP_BIND_DN=uid=searchuser,ou=users,dc=example,dc=com + LDAP_BIND_PASSWORD=securepassword + + # OAUTH Configuration + # Keycloak OIDC configuration + # more options: https://github.com/OpenIDC/mod_auth_openidc + OAUTH_ENABLED=false + OIDCProviderMetadataURL="http://keycloak/keycloak-auth/realms/master/.well-known/openid-configuration" + OIDCRedirectURI="http://my-domain.local/redirect_uri" + OIDCCryptoPassphrase="randomly_generated_secure_passphrase" + OIDCClientID="webdav-client" + OIDCClientSecret="ABC123def456GHI789jkl0mnopqrs" + OIDCProviderTokenEndpointAuth="client_secret_basic" + OIDCRemoteUserClaim="preferred_username" + OIDCScope="openid email profile" + OIDCXForwardedHeaders="X-Forwarded-Host" + + # Basic Digest Authentication with users space separated + BASIC_AUTH_ENABLED=true + BASIC_AUTH_REALM=Webdev + BASIC_USERS=Webdav + +networks: + default: + external: true + name: nginx \ No newline at end of file