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/
|
||||
ENV SUBSONIC_HOME /opt/data
|
||||
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_PODCAST_FOLDER /opt/podcast
|
||||
ENV SUBSONIC_DEFAULT_PLAYLIST_FOLDER /opt/playlist
|
||||
ENV HOME /opt/data
|
||||
CMD /opt/subsonic/subsonic.sh && tail -f /opt/data/subsonic_sh.log
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
version: "3"
|
||||
services:
|
||||
subsonic:
|
||||
image: vbatts/subsonic
|
||||
#image: vbatts/subsonic
|
||||
network_mode: "host"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- 0.0.0.0:4040:4040/tcp
|
||||
- 0.0.0.0:4043:4043/tcp
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp
|
||||
#ports:
|
||||
#- 0.0.0.0:4040:4040/tcp
|
||||
#- 0.0.0.0:4043:4043/tcp
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/opt/data/
|
||||
|
|
Loading…
Reference in a new issue