services:
  nexus-client:
    image: nexus-client:latest
    container_name: nexus-client
    environment:
      - CLIENT_COUNT=3
    volumes:
      - ./logs:/app/logs
      - ./nexus_client.txt:/app/nexus_client.txt
    restart: unless-stopped
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3" 