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
Some checks failed
Publish Docker Image / push_to_registry (push) Failing after 2m2s
This commit is contained in:
22
.env.example
22
.env.example
@@ -1,11 +1,17 @@
|
||||
# Navidrome Server Configuration
|
||||
# Navidrome Server Configuration (for development)
|
||||
NEXT_PUBLIC_NAVIDROME_URL=http://localhost:4533
|
||||
NEXT_PUBLIC_NAVIDROME_USERNAME=your_username
|
||||
NEXT_PUBLIC_NAVIDROME_PASSWORD=your_password
|
||||
NEXT_PUBLIC_POSTHOG_KEY=KEY
|
||||
NEXT_PUBLIC_POSTHOG_HOST=HOSTURL
|
||||
# NEXT_PUBLIC_COMMIT_SHA=$(git rev-parse --short HEAD)
|
||||
# Example for external server:
|
||||
# NEXT_PUBLIC_NAVIDROME_URL=https://your-navidrome-server.com
|
||||
# NEXT_PUBLIC_NAVIDROME_USERNAME=your_username
|
||||
# NEXT_PUBLIC_NAVIDROME_PASSWORD=your_password
|
||||
|
||||
# PostHog Analytics (optional)
|
||||
NEXT_PUBLIC_POSTHOG_KEY=your_posthog_key
|
||||
NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
|
||||
|
||||
# For Docker deployment, use these variable names in your .env file:
|
||||
# NAVIDROME_URL=https://your-navidrome-server.com
|
||||
# NAVIDROME_USERNAME=your_username
|
||||
# NAVIDROME_PASSWORD=your_password
|
||||
# POSTHOG_KEY=your_posthog_key
|
||||
# POSTHOG_HOST=https://us.i.posthog.com
|
||||
# HOST_PORT=3000
|
||||
# PORT=3000
|
||||
|
||||
Reference in New Issue
Block a user