Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to iris (docker installation) #393

Closed
kthys opened this issue Apr 22, 2019 · 5 comments
Closed

Unable to connect to iris (docker installation) #393

kthys opened this issue Apr 22, 2019 · 5 comments

Comments

@kthys
Copy link

kthys commented Apr 22, 2019

Hi,
I've installed Iris today from your docker webpage and installed it using docker-compose. There was no install tutorial so I had a look at the dockerfile and tried to make a config.
It looks like the config works, docker has no problem with it but when I try to connect to the port 6680, nothing happens.
Do you have any idea on how to fix that?

Here is the config:

        image: jaedb/iris
        container_name: mopidy-iris
        volumes:
            - ..../Media/Music:/var/lib/mopidy/media:ro
            - ...../mopidy/metadata:/var/lib/mopidy/local
        ports:
            - 6600:6600
            - 6680:6680
        restart: always
        networks:
            - default
@kthys kthys changed the title Unable to connect to iris with docker install Unable to connect to iris (docker installation) Apr 22, 2019
@jaedb
Copy link
Owner

jaedb commented Apr 22, 2019

You'll need to setup the actual command and entrypoint (which as you rightly identified, are not documented yet). Iris' Dockerfile is a copy-and-tweak from wernight/mopidy, so you can use that documentation to get you up and running.

In essence:

  • Command: '/usr/bin/mopidy'
  • Entrypoint: /entrypoint.sh

I hope this helps.

@kthys
Copy link
Author

kthys commented Apr 22, 2019

Thanks for your reply,
Do I have to add these to fields to the config ? I've added the fields entrypoint: /entrypoint.sh and command: '/usr/bin/mopidy' to my config but it looks like the webpage is still not reachable.
Have I done it wrong ?

@jaedb
Copy link
Owner

jaedb commented Apr 22, 2019

No they are the configuration values on the container. I'm still figuring how Iris should use Docker so this is very much a work in progress.

I recommend following the instructions on wernight/mopidy and replacing only the image to at least get you started. Then you'll have enough to create your docker-compose.json file.

@kthys
Copy link
Author

kthys commented Apr 25, 2019

I've tried the commands in the tutorial of wernight/mopidy and it works fine on the Iris container, you did a good job ! I'll probably use this version until you've finished setting up Iris on docker.
I've used the command docker run -d -v "$PWD/media:/var/lib/mopidy/media:ro" -v "$PWD/local:/var/lib/mopidy/local" -p 6600:6600 -p 6680:6680 --user $UID:$GID jaedb/iris mopidy

Concerning the compose. I'm still confused because it doesn't seem to need a custom entry point as you have previously mentioned, the initial docker command looks very basic so I don't understand why docker-compose should have that kind of details.

@jaedb
Copy link
Owner

jaedb commented Sep 5, 2019

@kthys I trust you've managed to get things up and running, now that the required initial settings are in this repository? I'll close this issue for now, but if you feel your issue persist, please feel free to re-open.

@jaedb jaedb closed this as completed Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants