mirror of
https://github.com/linuxserver/docker-mstream.git
synced 2026-02-20 04:55:34 +08:00
move sync folder to /config
This commit is contained in:
parent
0ef18baa2d
commit
71b20a5df9
@ -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 \
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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." }
|
||||
|
||||
@ -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 ]] && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user