ansible-role-navidrome/templates/navidrome/env.bonob.conf.j2
Laur Ivan 9d870bb96d feat!: Refactor configuration
Docker-config is more flexible.
Configuration is more hierarchical (except paths).
2023-01-22 19:36:10 +01:00

16 lines
616 B
Django/Jinja

{% if bonob.enabled %}
BNB_SONOS_AUTO_REGISTER={{ bonob.sonos.auto_register }}
BNB_SONOS_DEVICE_DISCOVERY={{ bonob.sonos.device_discovery }}
BNB_PORT=3000
{% if bonob.sonos.seed_host %}
BNB_SONOS_SEED_HOST={{ bonob.sonos.seed_host }}
{% endif %}
BNB_SUBSONIC_URL=http://navidrome:4533
BNB_SONOS_SERVICE_ID={{ bonob.sonos.service_id }}
BNB_URL=http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ bonob.host_port }}
BNB_SUBSONIC_CUSTOM_CLIENTS="audio/flac"
BNB_ICON_FOREGROUND_COLOR={{ bonob.icon_color }}
BNB_ICON_BACKGROUND_COLOR={{ bonob.icon_background }}
TZ={{ timezone }}
{% endif %}