pldubouilh / gossa

🎶 a fast and simple multimedia fileserver
MIT License
883 stars 72 forks source link

docker image on dockerhub doesn't contain readonly option #60

Closed rhetr closed 4 years ago

rhetr commented 4 years ago

for some reason when I try to pull gossa from dockerhub, the /start.sh script doesn't have the -ro=${READONLY} option and I have to manually edit and restart the container. when I built a container from scratch and I didn't have this issue.

---
version: '3.7'

services:
  gossa:
    image: pldubouilh/gossa
    container_name: gossa
    environment:
      - READONLY=true
    volumes:
      - /mnt/media:/shared
    ports:
      - 8001:8001
    restart: unless-stopped
pldubouilh commented 4 years ago

sudo docker run -e READONLY=TRUE -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa seems works for me - can you make sure you run the latest docker image ? sudo docker pull pldubouilh/gossa

pldubouilh commented 4 years ago

(also make sure to shift+ctrl+r to force a reload after restarting gossa following a config change, ctrl+r just reloads the file list)

rhetr commented 4 years ago

hm, probably just didn't pull the latest image thanks