Re: When developing a plugin, where should I put it in the Docker container?

adhawkins <adhawkins.akmkqn-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Wed, 18 May 2022 14:44:13 +0000
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
I'm using the community container. Here's the full docker-compose file:

> 
> version: "3.5"
> networks:
> default:
> name: lms
> 
> volumes:
> music:
> driver: local
> driver_opts:
> type: nfs
> o: addr=nas.gently.org.uk
> device: ":/mnt/data/music"
> 
> services:
> lms:
> container_name: lms
> hostname: lms-docker
> image: lmscommunity/logitechmediaserver:8.2.0
> restart: unless-stopped
> networks:
> - default
> ports:
> - "9000:9000"
> - "9090:9090"
> - "3483:3483"
> - "3483:3483/udp"
> volumes:
> # folder where lms stores its data (cache, logs, prefs)
> - ./lms_storage:/config
> # folder where lms should look for music
> - music:/var/spool/music
> # use time of host
> - /etc/localtime:/etc/localtime:ro
> - /etc/timezone:/etc/timezone:ro
> # -
> ./Plugins/SimpleLibraryViews/SimpleLibraryViews:/config/cache/Plugins/SimpleLibraryViews
> environment:
> - PUID=1000
> - PGID=1003
> 

(the commented out volume is me trying to inject the local source
directory for the plugin into the container. I've stopped doing that for
now while I work out what's going on).

I run the container using 'docker-compose up -d'

That's basically all I'm doing.

Andy


------------------------------------------------------------------------
adhawkins's Profile: http://forums.slimdevices.com/member.php?userid=650
View this thread: http://forums.slimdevices.com/showthread.php?t=116387