brum 1.2.1

Multi-Pane Web Environment (File Commander/Manager) - By Woofson
# 🐕 CommanderDog — Portainer Stack Template
# Copy and paste this directly into Portainer > Stacks > Add Stack (Web editor)

services:
  commanderdog:
    image: ghcr.io/woofson/commanderdog:latest
    container_name: commanderdog
    restart: unless-stopped
    ports:
      - "3140:3140"
    environment:
      - TZ=Europe/Oslo
      - CD_PORT=3140
      - CD_BIND=0.0.0.0
    volumes:
      # Persistent SQLite DB and runtime state
      - commanderdog_data:/data
      
      # Host Storage / Shares (Adjust host mount paths to match your server)
      - /home:/mnt/host_home:rw
      - /mnt/storage:/mnt/storage:rw
      
    healthcheck:
      test: ["CMD-SHELL", "curl -f http://localhost:3140/api/system/status || exit 1"]
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 10s
    
    security_opt:
      - no-new-privileges:true

volumes:
  commanderdog_data:
    driver: local