Ctrl K
ComunidadGuías…

docker-compose.yml

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
services:
  dockgate:
    image: ghcr.io/ali7zeynalli/dockgate:latest
    # build: .  # Uncomment to build from source instead of using pre-built image
    container_name: dockgate-control-panel
    restart: always
    ports:
      - "7077:7077"
    environment:
      - PORT=7077
      - NODE_ENV=production
      # - TRUST_PROXY=loopback        # only behind a reverse proxy on this host (nginx/caddy/traefik)
      # - DG_SETUP_TOKEN=change-me    # require this token for the first-run admin setup
    volumes:
      # Required for managing host Docker daemon
      - /var/run/docker.sock:/var/run/docker.sock
      # Required for persistent data (settings, tags, history)
      - ./data:/app/data
      # (Optional) Required if you want to manage Compose files located on the host
      # - /:/host:ro # Mount host file system if you need to access host compose directories
    
    # -------------------------------------
    # SYSTEM LIMITS (MİNİMUM TƏLƏBLƏR)
    # -------------------------------------
    deploy:
      resources:
        limits:
          cpus: '0.50'        # Maksimum 50% CPU (1/2 core)
          memory: 256M        # Maksimum 256MB RAM
        reservations:
          cpus: '0.05'        # Gözlənilən minimum 5% CPU
          memory: 64M         # Gözlənilən minimum 64MB RAM