mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(docker): have the container fill in the user variable
This commit is contained in:
parent
093cd5c53f
commit
6de074a976
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user