fixed docker files
This commit is contained in:
parent
f9eede4fea
commit
6917e8b420
4 changed files with 6 additions and 5 deletions
|
@ -1,2 +1 @@
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
*.json
|
|
|
@ -20,6 +20,8 @@ RUN apk update --no-cache --progress \
|
||||||
&& npm install \
|
&& npm install \
|
||||||
&& apk del --no-cache tzdata git
|
&& apk del --no-cache tzdata git
|
||||||
|
|
||||||
|
COPY ["docker_config.json", "/opt/kannon/config.json"]
|
||||||
|
|
||||||
WORKDIR /opt/kannon
|
WORKDIR /opt/kannon
|
||||||
|
|
||||||
ENTRYPOINT ["node", "kannon.js", "docker/docker_config.json"]
|
ENTRYPOINT ["node", "kannon.js"]
|
|
@ -18,4 +18,4 @@ services:
|
||||||
- 3001:3001
|
- 3001:3001
|
||||||
- 3002:3002
|
- 3002:3002
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/samsung/music:/mnt/library
|
- /path/to/library:/mnt/library
|
|
@ -17,7 +17,7 @@
|
||||||
"library": {
|
"library": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"sources": [
|
"sources": [
|
||||||
"/mnt/samsung/music"
|
"/mnt/library"
|
||||||
],
|
],
|
||||||
"formats": [
|
"formats": [
|
||||||
"mp3",
|
"mp3",
|
||||||
|
|
Loading…
Reference in a new issue