Define the network for Navidrome

This commit is contained in:
moshferatu 2023-12-27 11:50:34 -08:00
parent d57e031f5a
commit 348addc6a9

View File

@ -10,4 +10,13 @@ services:
ND_SCANSCHEDULE: 1h
volumes:
- <docker directory>/navidrome/data:/data
- <media directory>/Music:/music:ro
- <media directory>/Music:/music:ro
networks:
navidrome-network:
ipv4_address: <static ip>
networks:
navidrome-network:
name: navidrome-network
ipam:
config:
- subnet: <subnet>