8ddd3c9da5
BusyBox wget (+ node/python/curl one-shots, incl mealie's socket tuple) resolve localhost -> IPv6 ::1 with no cross-family fallback; an IPv4-only-binding app reads docker-unhealthy while serving (vaultwarden, re-run 2026-07-06). Escalates that instance to the class. Scoped strictly to healthcheck test: lines (diff-reviewed: no env/config/label changed; .felhom.yml already clean). New REUSE.md convention row. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PSK5g6qYLknKj8u3QAFEr6
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
# Navidrome - Könnyű zene szerver Subsonic API támogatással
|
|
# Domain: ${SUBDOMAIN}.${DOMAIN}
|
|
# Database: None (file-based)
|
|
# RAM: ~50M (mem_limit: 256M) | Pi-compatible: Yes
|
|
#
|
|
# Environment variables:
|
|
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
|
# USERDATA_PATH - Ügyfél-tartalom gyökér (<namespace>/userdata)
|
|
#
|
|
# Storage layout (felhom userdata convention):
|
|
# Zenegyűjtemény → ${USERDATA_PATH}/media/music (csak olvasható)
|
|
|
|
services:
|
|
navidrome:
|
|
image: deluan/navidrome:0.54.5
|
|
container_name: navidrome
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=Europe/Budapest
|
|
- ND_SCANSCHEDULE=1h
|
|
- ND_LOGLEVEL=info
|
|
- ND_BASEURL=
|
|
volumes:
|
|
- navidrome_data:/data
|
|
- ${USERDATA_PATH}/media/music:/music:ro
|
|
networks:
|
|
- traefik-public
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:4533/ping"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 30s
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.navidrome.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
|
|
- "traefik.http.routers.navidrome.entrypoints=websecure"
|
|
- "traefik.http.routers.navidrome.tls=true"
|
|
- "traefik.http.routers.navidrome.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.navidrome.loadbalancer.server.port=4533"
|
|
|
|
volumes:
|
|
navidrome_data:
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true
|