From 9f5efb4cdd3e86dd8571cb65876afbf3e31d381a Mon Sep 17 00:00:00 2001 From: vbatts Date: Tue, 21 May 2024 20:42:52 -0400 Subject: [PATCH] docker*: up and running again ... --- Dockerfile | 4 +++- docker-compose.yml | 11 +++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b496fab..383e5ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 326900a..a2ef5d2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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/