fix: blossom config
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 1m19s
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 1m19s
This commit is contained in:
parent
7312914859
commit
005d022bc0
@ -47,6 +47,4 @@ EXPOSE 3000
|
|||||||
ENV DEBUG="blossom-server,blossom-server:*"
|
ENV DEBUG="blossom-server,blossom-server:*"
|
||||||
ENV BLOSSOM_CONFIG="data/config.yml"
|
ENV BLOSSOM_CONFIG="data/config.yml"
|
||||||
|
|
||||||
COPY config.example.yml /app/data/config.yml
|
|
||||||
|
|
||||||
CMD [ "/app/start.sh" ]
|
CMD [ "/app/start.sh" ]
|
||||||
|
6
start.sh
6
start.sh
@ -1,5 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "==> Copy config in not existing"
|
||||||
|
if [[ ! -f /app/data/config.yml ]]; then
|
||||||
|
echo "=> First run, copying config files"
|
||||||
|
cp config.example.yml /app/data/config.yml
|
||||||
|
fi
|
||||||
|
|
||||||
echo "==> Changing ownership"
|
echo "==> Changing ownership"
|
||||||
chown -R cloudron:cloudron /app/data
|
chown -R cloudron:cloudron /app/data
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user