feat: enhance Docker setup with environment variable management and add example docker-compose file
Some checks failed
Publish Docker Image / push_to_registry (push) Failing after 2m2s

This commit is contained in:
2025-07-02 20:37:03 +00:00
committed by GitHub
parent d4e858756a
commit 62fc5509b0
6 changed files with 100 additions and 25 deletions

View File

@@ -6,12 +6,11 @@ services:
ports:
- "${HOST_PORT:-3000}:${PORT:-3000}"
environment:
# Navidrome Server Configuration (OPTIONAL)
# Uncomment and configure these if you want to pre-configure the server connection
# If not set, the app will prompt you to configure these settings on first launch
# - NEXT_PUBLIC_NAVIDROME_URL=${NAVIDROME_URL:-}
# - NEXT_PUBLIC_NAVIDROME_USERNAME=${NAVIDROME_USERNAME:-}
# - NEXT_PUBLIC_NAVIDROME_PASSWORD=${NAVIDROME_PASSWORD:-}
# Navidrome Server Configuration
# These will be injected at runtime using the entrypoint script
- NEXT_PUBLIC_NAVIDROME_URL=${NAVIDROME_URL:-}
- NEXT_PUBLIC_NAVIDROME_USERNAME=${NAVIDROME_USERNAME:-}
- NEXT_PUBLIC_NAVIDROME_PASSWORD=${NAVIDROME_PASSWORD:-}
# PostHog Analytics (optional)
- NEXT_PUBLIC_POSTHOG_KEY=${POSTHOG_KEY:-}