From 077f388cd0a24953edec2874e79efb29faeac35d Mon Sep 17 00:00:00 2001 From: Stixx Date: Wed, 6 Nov 2024 17:25:51 +0100 Subject: [PATCH] chore: docker BLOSSOM_CONFIG env --- Dockerfile | 1 - start.sh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f5ee367..767513a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,6 +45,5 @@ VOLUME [ "/app/data" ] EXPOSE 3000 ENV DEBUG="blossom-server,blossom-server:*" -ENV BLOSSOM_CONFIG="data/config.yml" CMD [ "/app/start.sh" ] diff --git a/start.sh b/start.sh index 5745090..bb75f52 100644 --- a/start.sh +++ b/start.sh @@ -6,5 +6,8 @@ cp config.example.yml /app/data/config.yml echo "==> Changing ownership" chown -R cloudron:cloudron /app/data +echo "==> Set BLOSSOM_CONFIG path to env" +export BLOSSOM_CONFIG=data/config.yml + echo "==> Starting Blossom" exec /usr/local/bin/gosu cloudron:cloudron node /app