chore: docker BLOSSOM_CONFIG env
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 13s
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 13s
This commit is contained in:
parent
917012b297
commit
077f388cd0
@ -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" ]
|
||||||
|
3
start.sh
3
start.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user