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: