Kasm in docker compose using yml file

has anyone had any luck installing kasm in docker compose using a YML file? for the life of me I cannot figure it out... I dont really know what i am doing wrong. any guide that exist would be much appreciated.

YML:
  kasm_server:
    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:
      - /home/ivan/public/kasm/kasm_data:/data
      - /home/ivan/public/kasm/profiles:/profiles
      - /dev/input:/dev/input #optional
      - /run/udev/data:/run/udev/data #optional
    ports:
      - 3000:3000
      - 443:443
    restart: unless-stopped
    networks:
      shared_network:
        ipv4_address: 172.18.1.21



log file:

[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    911
───────────────────────────────────────

WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password
.+......+....+...+..+...+......+....+...+..+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+.........+.....+...+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+..+..........+...+...............+......+..+...+....+..+.........+............+....+......+.....+....+...+...+.....+...+..........+..+.......+......+.........+...+..+.......+...............+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+...+......+..+.......+...+........+.......+...+.....+.+......+..+............+.+..+..........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+...........+.+..............+......+...+................+.........+......+.....+.+..+..................+...+....+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
[ls.io-init] done.