From 914ef6b02668b12013d9eb692e56637182665a7e Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Mon, 2 Oct 2023 19:11:13 +0100 Subject: [PATCH] Spooky permissions fix? See https://github.com/hedgedoc/container/issues/463 --- abra.sh | 2 +- entrypoint.sh.tmpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/abra.sh b/abra.sh index 9f9dbad..971ca59 100644 --- a/abra.sh +++ b/abra.sh @@ -1,4 +1,4 @@ -export ENTRYPOINT_CONF_VERSION=v6 +export ENTRYPOINT_CONF_VERSION=v7 abra_backup_app() { _abra_backup_dir "app:/home/hackmd/app/public/uploads/" diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index b0874ea..8a498e7 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -40,6 +40,7 @@ export CMD_DB_URL=postgres://$CMD_DB_USER:$CMD_DB_PASSWORD@$CMD_DB_HOST:5432/$CM if [ ! "${1-}" == "-e" ]; then # 3wc: upstream ENTRYPOINT # https://github.com/hedgedoc/container/blob/master/alpine/Dockerfile + mkdir -p "/hedgedoc/.npm" && chown -R 10000:65534 "/hedgedoc/.npm" /usr/local/bin/docker-entrypoint.sh npm start fi