docker*: up and running again ...
This commit is contained in:
parent
a08e810ed4
commit
9f5efb4cdd
2 changed files with 10 additions and 5 deletions
|
@ -33,8 +33,10 @@ VOLUME /opt/playlist/
|
||||||
VOLUME /opt/podcast/
|
VOLUME /opt/podcast/
|
||||||
ENV SUBSONIC_HOME /opt/data
|
ENV SUBSONIC_HOME /opt/data
|
||||||
ENV SUBSONIC_PORT 4040
|
ENV SUBSONIC_PORT 4040
|
||||||
ENV SUBSONIC_HTTPS_PORT 4043
|
ENV SUBSONIC_HTTPS_PORT 0
|
||||||
|
ENV SUBSONIC_MAX_MEMORY 250
|
||||||
ENV SUBSONIC_DEFAULT_MUSIC_FOLDER /opt/music
|
ENV SUBSONIC_DEFAULT_MUSIC_FOLDER /opt/music
|
||||||
ENV SUBSONIC_DEFAULT_PODCAST_FOLDER /opt/podcast
|
ENV SUBSONIC_DEFAULT_PODCAST_FOLDER /opt/podcast
|
||||||
ENV SUBSONIC_DEFAULT_PLAYLIST_FOLDER /opt/playlist
|
ENV SUBSONIC_DEFAULT_PLAYLIST_FOLDER /opt/playlist
|
||||||
|
ENV HOME /opt/data
|
||||||
CMD /opt/subsonic/subsonic.sh && tail -f /opt/data/subsonic_sh.log
|
CMD /opt/subsonic/subsonic.sh && tail -f /opt/data/subsonic_sh.log
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
subsonic:
|
subsonic:
|
||||||
image: vbatts/subsonic
|
#image: vbatts/subsonic
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
read_only: true
|
||||||
- 0.0.0.0:4040:4040/tcp
|
tmpfs:
|
||||||
- 0.0.0.0:4043:4043/tcp
|
- /tmp
|
||||||
|
#ports:
|
||||||
|
#- 0.0.0.0:4040:4040/tcp
|
||||||
|
#- 0.0.0.0:4043:4043/tcp
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/opt/data/
|
- ./data:/opt/data/
|
||||||
|
|
Loading…
Reference in a new issue