{"id":38539292,"url":"https://github.com/ogarcia/docker-polaris","last_synced_at":"2026-01-18T11:32:05.720Z","repository":{"id":140080047,"uuid":"128242863","full_name":"ogarcia/docker-polaris","owner":"ogarcia","description":"[MIRROR] Small docker of Polaris based on Alpine Linux","archived":false,"fork":false,"pushed_at":"2025-12-18T07:53:25.000Z","size":63,"stargazers_count":61,"open_issues_count":0,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-17T17:31:34.127Z","etag":null,"topics":["docker","docker-image","music","polaris","server","streaming"],"latest_commit_sha":null,"homepage":"https://gitlab.com/connectical/container/polaris","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ogarcia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-05T17:46:46.000Z","updated_at":"2025-12-18T07:40:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"94d0eae2-0825-44c0-b3e7-4c0dfac86fec","html_url":"https://github.com/ogarcia/docker-polaris","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/ogarcia/docker-polaris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogarcia%2Fdocker-polaris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogarcia%2Fdocker-polaris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogarcia%2Fdocker-polaris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogarcia%2Fdocker-polaris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ogarcia","download_url":"https://codeload.github.com/ogarcia/docker-polaris/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogarcia%2Fdocker-polaris/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","docker-image","music","polaris","server","streaming"],"created_at":"2026-01-17T07:07:26.322Z","updated_at":"2026-01-18T11:32:05.671Z","avatar_url":"https://github.com/ogarcia.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polaris container\n\n[![forthebadge](https://forthebadge.com/images/badges/powered-by-flux-capacitor.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/compatibility-betamax.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/does-not-contain-treenuts.svg)](https://forthebadge.com)\n\n(c) 2018-2025 [Connectical] Óscar García Amor\n\nRedistribution, modifications and pull requests are welcomed under the terms\nof GPLv3 license.\n\n[Polaris][po] is a music streaming application, designed to let you enjoy\nyour music collection from any computer or mobile device.\n\nThis container packages **Polaris** under [Alpine Linux][al], a lightweight\nLinux distribution.\n\nVisit [Quay][qu] or [GitLab][gl] to see all available tags.\n\n[po]: https://github.com/agersant/polaris\n[al]: https://alpinelinux.org/\n[qu]: https://quay.io/repository/connectical/polaris\n[gl]: https://gitlab.com/connectical/container/polaris/container_registry\n\n## Run\n\nTo run this container, simply exec.\n\n```sh\nalias docker=\"podman\" # If you are using podman\ndocker run -t -d \\\n  --name=polaris \\\n  -p 5050:5050 \\\n  registry.gitlab.com/connectical/container/polaris\n```\n\nThis start `polaris` and publish the port to host. You can go to\nhttp://localhost:5050 to see it running.\n\nWarning: this is a basic run, all data will be destroyed after container\nstop and rm.\n\n## Volumes\n\nThis container exports three volumes.\n\n- /music: for store you music collection\n- /var/cache/polaris: polaris cache\n- /var/lib/polaris: polaris data like database\n\nYou can exec the following to mount your music dir, store cache and data.\n\n```sh\nalias docker=\"podman\" # If you are using podman\ndocker run -t -d \\\n  --name=polaris \\\n  -p 5050:5050 \\\n  -v /my/music/directory:/music \\\n  -v /my/polaris/cache:/var/cache/polaris \\\n  -v /my/polaris/data:/var/lib/polaris \\\n  registry.gitlab.com/connectical/container/polaris\n```\n\nTake note that you must create before the cache directory\n`/my/polaris/cache` and data directory `/my/polaris/data` and set ownership\nto UID/GID 100 in both, otherwise the main proccess will crash.\n\n```sh\nmkdir -p /my/polaris/cache /my/polaris/data\nchown -R 100:100 /my/polaris/cache /my/polaris/data\n```\n\n**WARNING**: Breaking changes in 0.13.x. The database is stored by default\nin `/var/lib/polaris/db.sqlite`. You must move your database from\n`/my/polaris/data/.local/share/polaris` to `/my/polaris/data`. The cache\nfiles are stored now in `/var/cache/polaris`.\n\n## Environment variables\n\nThe `run-polaris` command can use the following environment variables.\n\n| Variable | Used for | Default value |\n| --- | --- | --- |\n| POLARIS_PORT | Define listen port | 5050 |\n| POLARIS_CONFIG | Optional config file location | |\n| POLARIS_DB | Optional database file location | |\n| POLARIS_CACHE_DIR | Optional cache directory location | /var/cache/polaris |\n| POLARIS_PIDFILE | Optional pid file location (see note) | |\n| POLARIS_LOGFILE | Optional log file location (see note) | |\n| POLARIS_LOGLEVEL | Optional log level between 0 (off) and 3 (debug) | |\n| POLARIS_DAEMONIZE | Run polaris as daemon in container (see note) | false |\n\nNote: both `POLARIS_PIDFILE` and `POLARIS_LOGFILE` only apply if you set\n`POLARIS_DAEMONIZE` as `true`. This only have sense if you want use this\nimage as base of your own modified one and you want run anything else.\n\n## Shell run\n\nIf you want to run a shell instead `run-polaris` command, simply do.\n\n```sh\nalias docker=\"podman\" # If you are using podman\ndocker run -t -i --rm \\\n  --name=polaris \\\n  -p 5050:5050 \\\n  -v /my/music/directory:/music \\\n  -v /my/polaris/data:/var/lib/polaris \\\n  --entrypoint=/bin/sh \\\n  registry.gitlab.com/connectical/container/polaris\n```\n\nPlease note that the `--rm` modifier destroy the container after shell exit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogarcia%2Fdocker-polaris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fogarcia%2Fdocker-polaris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogarcia%2Fdocker-polaris/lists"}