fix: config symlink
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
cb913c3a5c
commit
3a060cdf09
@ -4,9 +4,10 @@
|
|||||||
<option name="autoReloadType" value="SELECTIVE" />
|
<option name="autoReloadType" value="SELECTIVE" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="deaf6285-9bb5-4b4c-89a9-b0adf21548ad" name="Changes" comment="">
|
<list default="true" id="deaf6285-9bb5-4b4c-89a9-b0adf21548ad" name="Changes" comment="fix: docker config symlink">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/Dockerfile" beforeDir="false" afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Dockerfile" beforeDir="false" afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/start.sh" beforeDir="false" afterPath="$PROJECT_DIR$/start.sh" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@ -215,6 +216,7 @@
|
|||||||
<MESSAGE value="chore: fixing CloudronManifest" />
|
<MESSAGE value="chore: fixing CloudronManifest" />
|
||||||
<MESSAGE value="chore: CloudronManifest Dockerfile" />
|
<MESSAGE value="chore: CloudronManifest Dockerfile" />
|
||||||
<MESSAGE value="fix: start.sh permissions" />
|
<MESSAGE value="fix: start.sh permissions" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="fix: start.sh permissions" />
|
<MESSAGE value="fix: docker config symlink" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="fix: docker config symlink" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -45,9 +45,6 @@ LABEL cloudronManifestPath="CloudronManifest.json"
|
|||||||
VOLUME [ "/app/data" ]
|
VOLUME [ "/app/data" ]
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
RUN mkdir /app/data
|
|
||||||
RUN ln -s /app/config.yml /app/data/config.yml
|
|
||||||
|
|
||||||
ENV DEBUG="blossom-server,blossom-server:*"
|
ENV DEBUG="blossom-server,blossom-server:*"
|
||||||
|
|
||||||
CMD [ "/app/start.sh" ]
|
CMD [ "/app/start.sh" ]
|
||||||
|
3
start.sh
3
start.sh
@ -3,5 +3,8 @@
|
|||||||
echo "==> Changing ownership"
|
echo "==> Changing ownership"
|
||||||
chown -R cloudron:cloudron /app/data
|
chown -R cloudron:cloudron /app/data
|
||||||
|
|
||||||
|
echo "==> Symlink the config.yml to the editable /app/data directory"
|
||||||
|
ln -s /app/config.yml /app/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