🤖 ldap2nextcloud : synchronisation LDAP vers un carnet Nextcloud (CardDAV)

Historique regroupé en un seul commit pour ne pas publier de données
de production.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
zeguiguiandClaude Opus 5.5 committed 2026-11-17 09:47:31 +01:00
commit f6a01b85e1
42 files changed
+5538

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
FROM python:3.12-slim
# Autorité de certification du proxy (facultatif) : déposer les .crt dans deploy/certs/.
# truststore valide le TLS avec le magasin système du container.
COPY deploy/certs/ /usr/local/share/ca-certificates/
RUN update-ca-certificates
WORKDIR /app
COPY pyproject.toml ./
COPY src ./src
RUN pip install --no-cache-dir --root-user-action=ignore . \
&& useradd --create-home --uid 1000 ldapsync \
&& mkdir -p /app/state && chown ldapsync /app/state
USER ldapsync
VOLUME ["/app/state"]
ENV STATE_DB=/app/state/sync.sqlite \
MAPPING_FILE=/app/mapping.yaml \
DIRECTIONS_FILE=/app/directions.yaml
ENTRYPOINT ["ldap2nextcloud"]