Files
Docker-Registry-Browser/docker-compose.yml
2025-07-18 20:56:49 -04:00

38 lines
1.1 KiB
YAML

version: '3.8'
services:
docker-registry-browser:
build: .
container_name: docker-registry-browser
restart: unless-stopped
ports:
- "8080:80"
environment:
# Registry configuration - update these values
- REGISTRY_HOST=${REGISTRY_HOST:-localhost:5000}
- REGISTRY_PROTOCOL=${REGISTRY_PROTOCOL:-http}
# Optional: Basic auth if your registry requires it
- REGISTRY_USERNAME=${REGISTRY_USERNAME:-}
- REGISTRY_PASSWORD=${REGISTRY_PASSWORD:-}
# Node.js configuration
- NODE_ENV=production
extra_hosts:
# For accessing host services (like local registry)
- "host.docker.internal:host-gateway"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
labels:
# Unraid template labels
- "net.unraid.docker.managed=dockerman"
- "net.unraid.docker.icon=https://raw.githubusercontent.com/docker/docs/main/assets/images/docker-icon.png"
networks:
- registry-network
networks:
registry-network:
driver: bridge