services: beacon: container_name: beacon build: . restart: unless-stopped environment: # See README.md's "Environment variables" section for what each # of these does and when you'd need them. # - NAVIDROME_INTERNAL_URL=http://localhost:4533 # - JELLYFIN_INTERNAL_URL=http://localhost:8096 # - CONNECT_TOKEN=change-me # - SERVER_URL=https://navidrome.example.com # - SERVER_LOCK=true # - SERVER_TYPE=subsonic # - WEB_PORT=7070 # - PORT=7071 # - LOG_LEVEL=debug # - COVER_CACHE_MB=128 # - LASTFM_API_KEY= # - TRUSTED_PROXIES=127.0.0.1/32,::1/128,172.16.0.0/12 # Keeps AirPlay 2 pairings and (Jellyfin/Plex only) internet radio # stations across container recreations/updates. volumes: - ./data:/data # Required for Sonos/AirPlay/Chromecast mDNS discovery on the LAN. network_mode: host