Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

feat(docker): disable Better Auth telemetry in Dockerfiles (#511)

Corentin Thomasset405ba645f6f2
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 75a99718..476b2177 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -48,6 +48,9 @@ ENV PAPRA_CONFIG_DIR=./app-data
ENV EMAILS_DRY_RUN=true
ENV CLIENT_BASE_URL=http://localhost:1221
+# Disable Better Auth telemetry
+ENV BETTER_AUTH_TELEMETRY=0
+
RUN mkdir -p ./app-data/db ./app-data/documents ./ingestion
CMD ["pnpm", "start:with-migrations"]
diff --git a/docker/Dockerfile.rootless b/docker/Dockerfile.rootless
index 4443d860..d1596c73 100644
--- a/docker/Dockerfile.rootless
+++ b/docker/Dockerfile.rootless
@@ -61,4 +61,7 @@ ENV INGESTION_FOLDER_ROOT=./ingestion
ENV EMAILS_DRY_RUN=true
ENV CLIENT_BASE_URL=http://localhost:1221
+# Disable Better Auth telemetry
+ENV BETTER_AUTH_TELEMETRY=0
+
CMD ["pnpm", "start:with-migrations"]
\ No newline at end of file