ansible-role-navidrome/templates/navidrome/docker-compose.yml.j2

32 lines
764 B
Plaintext
Raw Normal View History

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