From 51a9e55c191895f88620652edcfc5ec0f3372771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 29 Dec 2024 19:42:53 +0000 Subject: [PATCH] modified: README.md modified: docker-compose.yaml --- README.md | 7 +++---- docker-compose.yaml | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3092f64..8c56140 100644 --- a/README.md +++ b/README.md @@ -22,19 +22,18 @@ Currently hosted on [homesrv01.dev.lan](/marcio.fernandes/homesrv01.dev.lan). #### data -Contains LMS persistent data. +LMS persistent data. #### music -External volume, linked to a network share. +using rclone docker plugin connected to an s3/minio bucket. -For more information check [homesrv01 git repo](/marcio.fernandes/homesrv01.dev.lan#lms). +For configuration check [homesrv01 git repo](/marcio.fernandes/homesrv01.dev.lan#lms). ## Deploy and Maintenance Using vscode on lazarus dev device with docker context set to host [homesrv01.dev.lan](marcio.fernandes/homesrv01.dev.lan) - ## Links - Lyrion Music Server - Official diff --git a/docker-compose.yaml b/docker-compose.yaml index 51ef45a..432b33f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,7 +5,7 @@ services: HTTP_PORT: "9002" volumes: - config:/config - - /mnt/media:/media:ro + - music:/music:ro - playlist:/playlist - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro @@ -17,10 +17,18 @@ services: - 9090:9090/tcp - 3483:3483/tcp - 3483:3483/udp - restart: always + restart: unless-stopped + volumes: - config: - playlist: + config: + playlist: + music: + driver: rclone + driver_opts: + remote: 's3-hot-storage:mf.music' + allow_other: 'true' + vfs_cache_mode: 'off' + poll_interval: 0 networks: lms: reverseproxy_public: