name: kasm
services:
  kasm:
    image: lscr.io/linuxserver/kasm:latest
    container_name: kasm
    privileged: true
    security_opt:
      - apparmor:rootlesskit #optional
    environment:
      - KASM_PORT=443
#      - DOCKER_HUB_USERNAME=USER #optional
#      - DOCKER_HUB_PASSWORD=PASS #optional
#      - DOCKER_MTU=1500 #optional
    volumes:
      - /mnt/docker/local/ksam/data/opt:/opt
      - /mnt/docker/local/ksam/data/profiles:/profiles #optional
      - /dev/input:/dev/input #optional
      - /run/udev/data:/run/udev/data #optional
#    ports:
#      - 3000:3000
#      - 443:443
    restart: unless-stopped
    networks:
      - npm_default

networks:
  npm_default:
    external: true
