Giter Club home page Giter Club logo

docker-public-images's Introduction

docker-public-images's People

Contributors

jbonjean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-public-images's Issues

Missing multiroom audio on volumio

Hi,

I wanted to share some extended docker-compose file which includes more open ports + the service that uses it.
also I had issues with the HOST environment variable because album art and category icons did not show up correctly. I fixed this by using a simple post call to the volumio api which I also included in the docker-compose below.

what I still miss is a working multi-room setup. If I start the container in network_mode: host, it will find other volumio devices (and also get discovered) in the network. but in normal mode, it seems the mdns/avahi/zeroconf/whatever service is not correctly propagated to and from the container. would be great if somebody can help.

version: "3.3"
services:
  volumio:
    restart: unless-stopped
    container_name: volumio
    environment:
      HOST: http://192.168.0.77:3000
    ports:
      - "3000:3000"
      # albumart - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/miscellanea/albumart/config.json#L2
      - "3001:3001"
      # updater - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/system_controller/updater_comm/index.js#L7
      - "3005:3005"
      # mpd - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/music_service/mpd/lib/mpd.js#L31
      - "6600:6600"
      # mpd emulation - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/user_interface/mpdemulation/index.js#L9
      - "6500:6500"
      # shairport - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/music_service/airplay_emulation/shairport-sync.conf.tmpl#L33
      - "5555:5555"
      # sharepoint - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/music_service/airplay_emulation/shairport-sync-reader/README.md#L16
      - "255:255"
      # upnp - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/audio_interface/upnp/index.js#L9
      - "6599:6599"
      # debugger - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/system_controller/volumio_command_line_client/commands/devmode.sh#L5
      # - "9229:9229"
    # network_mode: host
    volumes:
      - "/volume1/music:/var/lib/mpd/music:ro"
      - "./config:/data"
      - "./config/config.txt:/boot/config.txt"
      # for mdns/avahi
      - "/var/run/dbus:/var/run/dbus"
    devices:
      - /dev/snd
    image: jbonjean/volumio
    healthcheck:
      test:
        ["CMD-SHELL", "curl --fail http://localhost:3000/api/host || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 5

  # to properly set host variable after container start
  volumio-set-host:
    depends_on:
      volumio:
        condition: service_healthy
    container_name: volumio-set-host
    image: curlimages/curl:latest
    # set host variable from above
    command: curl -d "host=http://192.168.0.77" -X POST http://volumio:3000/api/host

Stuck on loading bar when opening WebUI

When I access the webUI, I get redirected to /indexstate-redirect for a moment, then to /playback.
But it only loads indefinitely there.

image

I tried running the image two ways, first with docker-compose

version: "3"

networks:
  internal:

services:

  app:
    image: jbonjean/volumio:latest
    networks:
      - internal
    ports:
      - 3000:3000
    restart: always
    volumes:
      - ./music:/var/lib/mpd/music/:ro
      - ./data:/data
      - /etc/localtime:/etc/localtime:ro
    environment:
      - HOST=http://localhost:3000/
      - PGID=1000
    devices:
      - /dev/null:/dev/snd

then as a command

docker run --restart=always -d --name volumio \
  -e HOST=http://192.168.1.1:3000 \
  -p 3000:3000 \
  -v ./data:/data \
  --device /dev/snd \
  jbonjean/volumio

But the results are the same both times. What am I doing wrong?

ssh for volumio

It would be nice to have ssh for volumio in order to use remote ssh development environment.

Cross-Origin message in browser console and ERR_CONNECTION_REFUSED

Hello,
thank you for making this image.
I started a container with the following command

docker run --restart=always -d --name volumio \
  -e HOST=http://192.168.1.52:3010 \
  -p 3010:3000 \
  -v /media/ubuntu/E432F8DB32F8B420/Audio/:/var/lib/mpd/music/:ro \
  -v /home/ubuntu/Desktop/volumio/data/:/data \
  --device /dev/snd \
  jbonjean/volumio

but while i can browse it nicely I keep receiving the following message in the console

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.1.52/api/host. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)

I've tried to open it from another machine (my desktop pc which is not hosting the docker container) and i receive
GET http://192.168.1.52/api/host net::ERR_CONNECTION_REFUSED vendor-6d48b0e874.js:33

this message is also most likely the reason why when I hit "play" button nothing happens.
Do you have any suggestion?

volumio: any RPi architecture?

Hi, thank you for contributing with your volumio image. I'm looking for a RPi 4 (ARM) architecture docker image to use in my RPi with HomeAssistant. Do you know any project? Thanks in advance!

Plugins list not showing in the webui and can't install them via ssh

Hi,
I'm facing the issue where not only i can't see all plugins from the WebUI (normally there are more) but i can't install them as well via volumio plugin install.
In the file volumio-image-hacks i saw there is the following command

# Force i386 arch (no amd64 plugins).
sed -i "s/arch = archraw\..*/arch = 'i386';/" /volumio/app/pluginmanager.js

can you elaborate on the reason why and if this could be the reason?

volumio.log and mpd.log are always empty

As per the title both logs stored in /var/log/volumio.log are empty.
This is a bit tricky because i really can't debug or investigate the issues i'm facing recently.
Do you have an idea about this?

Also in the webui when activating the live log it just display

Starting Live Log...

and nothing else

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.