{"id":14384094,"url":"https://github.com/Whhoesj/docker-mopidy","last_synced_at":"2025-08-23T16:32:08.308Z","repository":{"id":76979391,"uuid":"65408684","full_name":"Whhoesj/docker-mopidy","owner":"Whhoesj","description":"Mopidy in Docker","archived":true,"fork":false,"pushed_at":"2022-08-14T22:30:47.000Z","size":673,"stargazers_count":14,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-21T12:33:28.881Z","etag":null,"topics":["audio","docker","mopidy","music","spotify","webclient"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/whhoesj/mopidy/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Whhoesj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-08-10T18:58:22.000Z","updated_at":"2023-01-27T22:17:58.000Z","dependencies_parsed_at":"2024-01-14T19:15:39.155Z","dependency_job_id":"b9ffd4d2-cfde-4531-ad31-ba707bd89423","html_url":"https://github.com/Whhoesj/docker-mopidy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Whhoesj/docker-mopidy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whhoesj%2Fdocker-mopidy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whhoesj%2Fdocker-mopidy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whhoesj%2Fdocker-mopidy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whhoesj%2Fdocker-mopidy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Whhoesj","download_url":"https://codeload.github.com/Whhoesj/docker-mopidy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whhoesj%2Fdocker-mopidy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271755685,"owners_count":24815459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","docker","mopidy","music","spotify","webclient"],"created_at":"2024-08-28T18:01:06.760Z","updated_at":"2025-08-23T16:32:07.992Z","avatar_url":"https://github.com/Whhoesj.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# Not maintained\n\nThis image/repo is no longer maintained since I don't use Mopidy myself anymore.\n\n---\n\n# Mopidy Docker image\nImage for running [Mopidy](https://www.mopidy.com/) in Docker.  \nUses Pulseaudio for audio output.\n\n## Contents\n### Frontend extensions\n* [Iris](https://github.com/jaedb/Iris)\n* [Mopidy Musicbox Webclient](https://github.com/pimusicbox/mopidy-musicbox-webclient)\n\n### Backend extensions\n* Spotify\n* Soundcloud\n* Scrobbler\n* Tunein\n\n## How to use\n```bash\ndocker run \\\n    --name mopidy \\\n    -e PULSE_SERVER=tcp:0.0.0.0:4713 \\     # Pulseaudio server. Point to external IP of Pulse server\n    -v $PWD/media:/media:ro \\              # Media files\n    -v $PWD/data:/var/lib/mopidy \\         # Mopidy data and cache\n    -v $PWD/mopidy.conf:/mopidy.conf \\     # Override config (for accounts)\n    -p 6600:6600 \\                         # Port for MPD\n    -p 6680:6680 \\                         # Port for the webinterface\n    -p 6681:6681 \\                         # (Optional) Port for Iris pusher service\n    whhoesj/mopidy\n```\n\n## Sound\nTo get sound, run a Pulseaudio server with tcp enabled. Point the `PULSE_SERVER` environment variable in the container to the external IP of the machine running the Pulseaudio server.\n\n## Volumes\nTo keep the Mopidy data persistent, `/var/lib/mopidy` should be mounted as a volume. The Mopidy user must have write access to this directory. Set this with `chown -R 105 /path/to/data`.\n\n## Configuration\nTo add Spotify, Last.FM etc. accounts, use the `/mopidy.conf` file. Example:\n```\n[spotify]\nenabled = true\nusername =\npassword =\nclient_id = \nclient_secret =\n# To authenticate go to:\n# https://mopidy.com/ext/spotify/#authentication\n\n[scrobbler]\nenabled = true\nusername =\npassword =\n\n[soundcloud]\nenabled = true\nauth_token =\n```\n\nThis same file can be used to override parts of the default configuration. For example: by default, the file browser in Mopidy is disabled to enable it:\n```\n[file]\nenable = true\n```\nThe complete default config can be found in the file [mopidy.conf](./mopidy.conf)\n\n## Local media\nTo play local media files, mount `/media`. To scan for new media files, run `docker exec -it mopidy localscan`.\n\n## Adding extensions\nTo add extensions, I advice to override this image by creating your own Dockerfile.\nIn the example below, a package is installed with pip. To add packages, we switch to the root user, run `pip` to add everything we need and switch back to the `mopidy` user.\n```Dockerfile\nFROM whhoesj/mopidy:latest\nUSER root\nRUN python3 -m pip install \u003cyour-package\u003e\nUSER mopidy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWhhoesj%2Fdocker-mopidy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWhhoesj%2Fdocker-mopidy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWhhoesj%2Fdocker-mopidy/lists"}