feat: enhance Docker setup with environment variable management and add example docker-compose file

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

@@ -0,0 +1,29 @@
version: '3.8'
services:
mice:
container_name: mice-public
image: ghcr.io/sillyangel/mice:latest
ports:
- "40625:40625"
environment:
# Navidrome Server Configuration
- NAVIDROME_URL=https://navi.sillyangel.dev
- NAVIDROME_USERNAME=kryptonite
- NAVIDROME_PASSWORD=kryptonite
# PostHog Analytics
- POSTHOG_KEY=phc_Sa39J7754MwaHrPxYiWnWETVSD3g1cU4nOplMGczRE9
- POSTHOG_HOST=https://us.i.posthog.com
# Application Port
- PORT=40625
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:40625"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped