2022-09-26 10:34:16 +02:00
|
|
|
version: "3.3"
|
|
|
|
services:
|
|
|
|
navidrome:
|
2023-01-22 19:36:10 +01:00
|
|
|
image: "deluan/navidrome:{{ navidrome.image_version }}"
|
2022-09-26 10:34:16 +02:00
|
|
|
restart: always
|
|
|
|
env_file:
|
2023-01-22 19:36:10 +01:00
|
|
|
- "{{ navidrome_docker_path | expanduser | realpath }}/env.navidrome.conf"
|
2022-09-26 10:34:16 +02:00
|
|
|
volumes:
|
|
|
|
- {{ navidrome_config_volume }}:/data
|
2022-09-26 15:40:07 +02:00
|
|
|
- {{ navidrome_music_volume }}:/music:ro
|
2022-09-26 10:34:16 +02:00
|
|
|
ports:
|
2023-01-22 19:36:10 +01:00
|
|
|
- {{ navidrome.host_port }}:4533
|
2022-09-26 10:34:16 +02:00
|
|
|
networks:
|
|
|
|
- navidrome
|
2023-01-22 19:36:10 +01:00
|
|
|
|
|
|
|
{% if bonob.enabled %}
|
2022-09-26 10:34:16 +02:00
|
|
|
bonob:
|
2023-01-22 19:36:10 +01:00
|
|
|
image: simojenki/bonob:{{ bonob.image_version }}
|
2022-09-26 10:34:16 +02:00
|
|
|
restart: always
|
|
|
|
depends_on:
|
|
|
|
- navidrome
|
|
|
|
env_file:
|
2023-01-22 19:36:10 +01:00
|
|
|
- "{{ navidrome_docker_path | expanduser | realpath }}/env.bonob.conf"
|
2022-09-26 10:34:16 +02:00
|
|
|
ports:
|
2023-01-22 19:36:10 +01:00
|
|
|
- "{{ bonob.host_port }}:3000"
|
2022-09-26 10:34:16 +02:00
|
|
|
networks:
|
|
|
|
- navidrome
|
|
|
|
- default
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
networks:
|
|
|
|
navidrome: {}
|