Initial commit.

This commit is contained in:
2025-11-02 13:30:17 +00:00
commit 0c6079771a
4 changed files with 394 additions and 0 deletions

21
.env.example Normal file
View File

@@ -0,0 +1,21 @@
# LDAP connection
LDAP_URI=ldaps://ldap.example.net:636
LDAP_BIND_DN=uid=admin,dc=example,dc=net
LDAP_BIND_PASSWORD=changeme
LDAP_BASE_DN=ou=clients,dc=example,dc=net
LDAP_FILTER=(objectClass=MAILACCOUNT)
LDAP_ATTR_ACCESS_KEY=S3ACCESSKEY
LDAP_ATTR_SECRET_KEY=S3SECRETKEY
# If using ldap:// and you want StartTLS
LDAP_STARTTLS=false
# S3 endpoint
S3_ENDPOINT=https://s3.example.com
S3_REGION=us-east-1
S3_FORCE_PATH_STYLE=true
# Service behavior
POLL_INTERVAL=30s
WORKERS=4