fix(docker): have the container fill in the user variable

This commit is contained in:
perf3ct 2025-05-22 22:47:29 +00:00
parent 093cd5c53f
commit 6de074a976
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232
2 changed files with 2 additions and 2 deletions

View File

@ -45,6 +45,6 @@ ENV TRILIUM_DATA_DIR=/home/${USER}/trilium-data
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
# Use the entrypoint script
CMD ["/home/${USER}/app/rootless-entrypoint.sh"]
CMD /home/${USER}/app/rootless-entrypoint.sh
HEALTHCHECK --start-period=10s CMD node /home/${USER}/app/docker_healthcheck.js

View File

@ -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.sh
HEALTHCHECK --start-period=10s CMD node /home/${USER}/app/docker_healthcheck.js