initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
---
|
||||
services:
|
||||
navidrome:
|
||||
image: deluan/navidrome:{{ navidrome_container_version }}
|
||||
container_name: "{{ navidrome_container_name }}"
|
||||
user: {{ navidrome_uid }}:{{ navidrome_gid }} # should be owner of volumes
|
||||
restart: "{{ navidrome_restart_policy }}"
|
||||
ports:
|
||||
- "{{ navidrome_http_port }}:4533"
|
||||
environment:
|
||||
# Optional: put your config options customization here. Examples:
|
||||
ND_SCANSCHEDULE: 1h
|
||||
ND_LOGLEVEL: info
|
||||
ND_SESSIONTIMEOUT: 24h
|
||||
{% if navidrome_base_url is defined %}
|
||||
ND_BASEURL: "{{ navidrome_base_url }}"
|
||||
{% endif %}
|
||||
volumes:
|
||||
- "{{ navidrome_data_path }}:/data"
|
||||
{% for item in navidrome_libraries %}
|
||||
- "{{ item.host_path }}:{{ item.container_path }}:ro"
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user