Skip to content

Commit 60c73e7

Browse files
committed
Fix silly error
1 parent 0f3b227 commit 60c73e7

4 files changed

Lines changed: 33 additions & 3 deletions

File tree

Dockerfile.aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ LABEL maintainer="chbmb"
1010
RUN \
1111
echo "**** install build packages ****" && \
1212
apk add --no-cache --virtual=build-dependencies \
13+
curl \
1314
git && \
1415
echo "**** install runtime packages ****" && \
1516
apk add --no-cache --upgrade \
@@ -30,7 +31,7 @@ RUN \
3031
/opt/mstream/ --strip-components=1 && \
3132
cd /opt/mstream && \
3233
npm install --only=production && \
33-
npm link
34+
npm link && \
3435
echo "**** cleanup ****" && \
3536
apk del --purge \
3637
build-dependencies && \

Dockerfile.armhf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ LABEL maintainer="chbmb"
1010
RUN \
1111
echo "**** install build packages ****" && \
1212
apk add --no-cache --virtual=build-dependencies \
13+
curl \
1314
git && \
1415
echo "**** install runtime packages ****" && \
1516
apk add --no-cache --upgrade \
@@ -30,7 +31,7 @@ RUN \
3031
/opt/mstream/ --strip-components=1 && \
3132
cd /opt/mstream && \
3233
npm install --only=production && \
33-
npm link
34+
npm link && \
3435
echo "**** cleanup ****" && \
3536
apk del --purge \
3637
build-dependencies && \

root/defaults/config.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"port": 3000,
3+
"webAppDirectory": "public",
4+
"secret": "",
5+
"writeLogs": true,
6+
"noUpload": false,
7+
"scanOptions": {
8+
"skipImg": true,
9+
"scanInterval": 1.5,
10+
"pause": 50,
11+
"saveInterval": 500,
12+
"bootScanDelay": 15
13+
},
14+
"storage": {
15+
"albumArtDirectory": "/config/album-art",
16+
"dbDirectory": "/config",
17+
"logsDirectory": "/config/logs"
18+
},
19+
"folders": {
20+
"music": "/music"
21+
},
22+
"users": {
23+
"admin": {
24+
"password":"password",
25+
"vpaths": "music"
26+
}
27+
}
28+
}

root/etc/services.d/mstream/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
cd /opt/mstream || exit
44

55
exec \
6-
s6-setuidgid abc /opt/mstream/mstream -d /config/db -I /config/album-art -j /config/config.json -m /music -u ${USER} -x ${PASSWORD}
6+
s6-setuidgid abc mstream -j /config/config.json

0 commit comments

Comments
 (0)