zfuller/navidrome-role
Fork: 2 Star: 6 (更新于 2024-10-29 06:55:03)
license: GPL-3.0
Language: Jinja .
an ansible role for navidrome https://github.com/navidrome/navidrome/
navidrome
This ansible role installs and configures the Navidrome self-hosted music server on a Linux server. This role downloads the latest release of Navidrome from the GitHub repository and sets up any custom configuration settings in navidrome.toml set in the navidrome_config variable. It also configures the systemd service as well.
Once installed, the Navidrome server can be accessed via a web browser at the IP address or domain name of the server, using the default port of 4533. You will need to setup an admin user right away for the first installation.
For additional guidance, please visit the Getting Started page on the Navidrome website.
Please note that this is not an official Navidrome role, but rather a personal project I developed for my own use and am sharing with the community.
Requirements
Navidrome can be run solo or with a webserver using a reverse proxy.
Role Variables
The main variable that you will want to set is the MusicFolder variable. This will be the location of your music library. Everything else can be left default.
If you would like to know more about the additional variables you can add, refer to configuration-options for additional options and explainations.
navidrome_user: www-data
navidrome_group: www-data
navidrome_release_url: https://github.com/navidrome/navidrome/releases
navidrome_temp_location: /tmp
navidrome_install_location: /opt
navidrome_config_dir: /var/lib/navidrome
navidrome_config_file: navidrome.toml
navidrome_pid_file: /var/run/navidrome.pid
navidrome_package_requirements:
- ffmpeg
# The following includes just a few of the configuration settings that Navidrome accepts.
# Additional settings can be added to the dictionary as needed.
navidrome_config:
MusicFolder: # Default: "{{ navidrome_config_dir }}/music"
DataFolder: # Default: "{{ navidrome_config_dir }}/data"
LogLevel: # Default: "info"
Address: # Default: 0.0.0.0 and :: (all IPs)
BaseUrl: # Default: (empty)
Port: # Default: 4533
AuthRequestLimit: # Default: 5
AuthWindowLength: # Default: "20s"
AutoImportPlaylists: # Default: true
CoverArtPriority: # Default: cover.*, folder.*, front.*, embedded, external
CoverJpegQuality: # Default: 75
DefaultDownsamplingFormat: # Default: opus
DefaultLanguage: # Default: "en"
DefaultTheme: # Default: Dark
...
UILoginBackgroundUrl: # Default: random music image from Unsplash.com
UIWelcomeMessage: # Default: (empty)
Dependencies
N/A
Example Playbook
- name: setup navidrom
hosts: navidrome
gather_facts: yes
vars:
navidrome_config:
EnableGravatar: true
EnableDownloads: false
ImageCacheSize: "1GB"
MaxSidebarPlaylists: 5
CoverJpegQuality: 100
DefaultLanguage: "en"
MusicFolder: /home/music
SessionTimeout: "168h"
TranscodingCacheSize: "5GB"
AuthRequestLimit: 10
AuthWindowLength: "30m"
UIWelcomeMessage: "welcome"
roles:
- role: zfuller.navidrome_role
License
GPL-3.0-only
Author Information
zfuller
最近版本更新:(数据更新于 1970-01-01 00:00:00)
主题(topics):
ansible, ansible-role, navidrome
zfuller/navidrome-role同语言 Jinja最近更新仓库
2024-09-11 20:29:37 hassio-addons/addon-adguard-home
2024-08-11 02:42:05 netbootxyz/netboot.xyz
2024-07-03 05:53:58 ansible/awx-operator
2024-01-23 17:21:23 ANXS/postgresql
2023-11-07 01:10:20 kubernetes-sigs/kubespray
2022-08-22 21:29:48 lsgalves/ansible-role-ipban