chore: docker BLOSSOM_CONFIG env
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 13s

This commit is contained in:
Stixx 2024-11-06 17:25:51 +01:00
parent 917012b297
commit 077f388cd0
2 changed files with 3 additions and 1 deletions

View File

@ -45,6 +45,5 @@ VOLUME [ "/app/data" ]
EXPOSE 3000 EXPOSE 3000
ENV DEBUG="blossom-server,blossom-server:*" ENV DEBUG="blossom-server,blossom-server:*"
ENV BLOSSOM_CONFIG="data/config.yml"
CMD [ "/app/start.sh" ] CMD [ "/app/start.sh" ]

View File

@ -6,5 +6,8 @@ cp config.example.yml /app/data/config.yml
echo "==> Changing ownership" echo "==> Changing ownership"
chown -R cloudron:cloudron /app/data chown -R cloudron:cloudron /app/data
echo "==> Set BLOSSOM_CONFIG path to env"
export BLOSSOM_CONFIG=data/config.yml
echo "==> Starting Blossom" echo "==> Starting Blossom"
exec /usr/local/bin/gosu cloudron:cloudron node /app exec /usr/local/bin/gosu cloudron:cloudron node /app