Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(docker): have the container fill in the user variable
perf3ct6de074a976fb
diff --git a/apps/server/Dockerfile.alpine.rootless b/apps/server/Dockerfile.alpine.rootlessindex e161e54735..7105d1609e 100644--- a/apps/server/Dockerfile.alpine.rootless+++ b/apps/server/Dockerfile.alpine.rootless@@ -45,6 +45,6 @@ ENV TRILIUM_DATA_DIR=/home/${USER}/trilium-dataENTRYPOINT ["/usr/bin/dumb-init", "--"]# Use the entrypoint script-CMD ["/home/${USER}/app/rootless-entrypoint.sh"]+CMD /home/${USER}/app/rootless-entrypoint.shHEALTHCHECK --start-period=10s CMD node /home/${USER}/app/docker_healthcheck.jsdiff --git a/apps/server/Dockerfile.rootless b/apps/server/Dockerfile.rootlessindex a08f648c04..541e970e5c 100644--- a/apps/server/Dockerfile.rootless+++ b/apps/server/Dockerfile.rootless@@ -44,6 +44,6 @@ ENV TRILIUM_GID=${GID}ENV TRILIUM_DATA_DIR=/home/${USER}/trilium-data# Use the entrypoint script-CMD ["/home/${USER}/app/rootless-entrypoint.sh"]+CMD /home/${USER}/app/rootless-entrypoint.shHEALTHCHECK --start-period=10s CMD node /home/${USER}/app/docker_healthcheck.js