Docker Polaris

Small docker of Polaris based on Alpine Linux
Alternatives To Docker Polaris
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Rocket.chat37,095215 hours ago5August 18, 20222,979otherTypeScript
The communications platform that puts data protection first.
Appwrite33,224
7 hours ago65July 18, 2023615bsd-3-clauseTypeScript
Build Fast. Scale Big. All in One Place. Cloud is now available in public beta. 🌩
Setup Ipsec Vpn22,713
2 days ago3otherShell
Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Hydra14,43498 hours ago1May 08, 201985apache-2.0Go
OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.
Prefect12,875113817 hours ago225August 01, 2023560apache-2.0Python
Prefect is a workflow orchestration tool empowering developers to build, observe, and react to data pipelines
Caprover11,007
3 days ago107otherTypeScript
Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
Nakama7,58313 days ago72May 27, 2021112apache-2.0Go
Distributed server for social and realtime games and apps.
Rap2 Delos7,468
6 months ago82mitTypeScript
阿里妈妈前端团队出品的开源接口管理工具RAP第二代
Jupyterhub7,3362551287 hours ago73June 08, 2023188otherPython
Multi-user server for Jupyter notebooks
Statping6,61023 months ago138December 18, 202052gpl-3.0Vue
Status Page for monitoring your websites and applications with beautiful graphs, analytics, and plugins. Run on any type of environment.
Alternatives To Docker Polaris
Select To Compare


Alternative Project Comparisons
Readme

Polaris container CircleCI

(c) 2018-2023 Óscar García Amor

Redistribution, modifications and pull requests are welcomed under the terms of GPLv3 license.

Polaris is a music streaming application, designed to let you enjoy your music collection from any computer or mobile device.

This container packages Polaris under Alpine Linux, a lightweight Linux distribution.

Visit Docker Hub, Quay or GitHub to see all available tags.

Run

To run this container, simply exec.

docker run -t -d \
  --name=polaris \
  -p 5050:5050 \
  ogarcia/polaris

This start polaris and publish the port to host. You can go to http://localhost:5050 to see it running.

Warning: this is a basic run, all data will be destroyed after container stop and rm.

Volumes

This container exports three volumes.

  • /music: for store you music collection
  • /var/cache/polaris: polaris cache
  • /var/lib/polaris: polaris data like database

You can exec the following to mount your music dir, store cache and data.

docker run -t -d \
  --name=polaris \
  -p 5050:5050 \
  -v /my/music/directory:/music \
  -v /my/polaris/cache:/var/cache/polaris \
  -v /my/polaris/data:/var/lib/polaris \
  ogarcia/polaris

Take note that you must create before the cache directory /my/polaris/cache and data directory /my/polaris/data and set ownership to UID/GID 100 in both, otherwise the main proccess will crash.

mkdir -p /my/polaris/cache /my/polaris/data
chown -R 100:100 /my/polaris/cache /my/polaris/data

WARNING: Breaking changes in 0.13.x. The database is stored by default in /var/lib/polaris/db.sqlite. You must move your database from /my/polaris/data/.local/share/polaris to /my/polaris/data. The cache files are stored now in /var/cache/polaris.

Environment variables

The run-polaris command can use the following environment variables.

Variable Used for Default value
POLARIS_PORT Define listen port 5050
POLARIS_CONFIG Optional config file location
POLARIS_DB Optional database file location
POLARIS_CACHE_DIR Optional cache directory location /var/cache/polaris
POLARIS_PIDFILE Optional pid file location (see note)
POLARIS_LOGFILE Optional log file location (see note)
POLARIS_LOGLEVEL Optional log level between 0 (off) and 3 (debug)
POLARIS_DAEMONIZE Run polaris as daemon in container (see note) false

Note: both POLARIS_PIDFILE and POLARIS_LOGFILE only apply if you set POLARIS_DAEMONIZE as true. This only have sense if you want use this image as base of your own modified one and you want run anything else.

Shell run

If you want to run a shell instead run-polaris command, simply do.

docker run -t -i --rm \
  --name=polaris \
  -p 5050:5050 \
  -v /my/music/directory:/music \
  -v /my/polaris/data:/var/lib/polaris \
  --entrypoint=/bin/sh \
  ogarcia/polaris

Please note that the --rm modifier destroy the container after shell exit.

Popular Docker Projects
Popular Server Projects
Popular Virtualization Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Docker
Server
Makefile
Docker Image
Location
Streaming