move sync folder to /config

This commit is contained in:
aptalca 2022-04-05 14:33:23 -04:00
parent 0ef18baa2d
commit 71b20a5df9
6 changed files with 11 additions and 3 deletions

View File

@ -37,6 +37,8 @@ RUN \
npm link && \
echo "**** cleanup ****" && \
npm cache clean --force && \
rm -rf /opt/mstream/save/sync && \
ln -s /config/sync /opt/mstream/save/sync && \
apk del --purge \
build-dependencies && \
rm -rf \

View File

@ -37,6 +37,8 @@ RUN \
npm link && \
echo "**** cleanup ****" && \
npm cache clean --force && \
rm -rf /opt/mstream/save/sync && \
ln -s /config/sync /opt/mstream/save/sync && \
apk del --purge \
build-dependencies && \
rm -rf \
@ -47,4 +49,4 @@ COPY root/ /
# ports and volumes
EXPOSE 3000
VOLUME /config /music
VOLUME /config /music

View File

@ -37,6 +37,8 @@ RUN \
npm link && \
echo "**** cleanup ****" && \
npm cache clean --force && \
rm -rf /opt/mstream/save/sync && \
ln -s /config/sync /opt/mstream/save/sync && \
apk del --purge \
build-dependencies && \
rm -rf \
@ -47,4 +49,4 @@ COPY root/ /
# ports and volumes
EXPOSE 3000
VOLUME /config /music
VOLUME /config /music

View File

@ -231,6 +231,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **05.04.22:** - Move `sync` folder to `/config`.
* **02.04.22:** - Rebase to alpine 3.15. Fix ffmpeg download.
* **17.05.21:** - Deprecating the env vars `USER`, `PASSWORD` and `USE_JSON` as mStream v5 requires the use of `config.json`.
* **23.01.21:** - Rebasing to alpine 3.13.

View File

@ -37,6 +37,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "05.04.22:", desc: "Move `sync` folder to `/config`." }
- { date: "02.04.22:", desc: "Rebase to alpine 3.15. Fix ffmpeg download." }
- { date: "17.05.21:", desc: "Deprecating the env vars `USER`, `PASSWORD` and `USE_JSON` as mStream v5 requires the use of `config.json`." }
- { date: "23.01.21:", desc: "Rebasing to alpine 3.13." }

View File

@ -2,7 +2,7 @@
# make folders
mkdir -p \
/config/{album-art,db,logs}
/config/{album-art,db,logs,sync}
# copy config.json if doesn't exist
[[ ! -e /config/config.json ]] && \