feat: add Docker support with environment configuration and health checks

This commit is contained in:
2025-07-02 19:10:32 +00:00
committed by GitHub
parent 4fe02675ec
commit d7f4894c7c
7 changed files with 350 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
# Docker Compose Override Example for Local Development
# This file shows how to override the default docker-compose.yml for local development
version: '3.8'
services:
mice:
# Override to build locally instead of using pre-built image
build: .
image: mice:local
# Enable Navidrome configuration for development
environment:
- NEXT_PUBLIC_NAVIDROME_URL=http://localhost:4533
- NEXT_PUBLIC_NAVIDROME_USERNAME=admin
- NEXT_PUBLIC_NAVIDROME_PASSWORD=admin
- NEXT_PUBLIC_POSTHOG_KEY=${POSTHOG_KEY:-}
- NEXT_PUBLIC_POSTHOG_HOST=${POSTHOG_HOST:-}
- PORT=${PORT:-3000}
# Mount source code for development (optional)
# volumes:
# - .:/app
# - /app/node_modules
# - /app/.next