From 92e74227c7e4f97abff98a4ad5796243b594a378 Mon Sep 17 00:00:00 2001 From: M_Viper Date: Mon, 12 Feb 2024 21:15:09 +0000 Subject: [PATCH] Dateien nach "install-kasm-on-docker" hochladen --- install-kasm-on-docker/docker-compose.yml | 55 +++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 install-kasm-on-docker/docker-compose.yml diff --git a/install-kasm-on-docker/docker-compose.yml b/install-kasm-on-docker/docker-compose.yml new file mode 100644 index 0000000..00d8a8b --- /dev/null +++ b/install-kasm-on-docker/docker-compose.yml @@ -0,0 +1,55 @@ +version: "3.8" # Docker Compose file format version + +# Service definitions for the big-bear-kasm application +services: + # Service name: app + # The `app` service definition + kasm: + # Name of the container + container_name: M_Viper-kasm + + # Image to be used for the container + image: linuxserver/kasm:1.120.20221218 + + # Container restart policy + restart: unless-stopped + + # Privilege of the container + privileged: true + + # Uses bridge network mode + network_mode: bridge + + # Volumes to be mounted to the container + volumes: + # Mounting the local kasm/opt directory to /opt inside the container + - kasm_opt:/opt + + # Mounting the local kasm/profiles directory to /profiles inside the container + - kasm_profiles:/profiles + + # Mounting the local /dev/input directory to /dev/input inside the container + - /dev/input:/dev/input + + # Mounting the local /run/udev/data directory to /run/udev/data inside the container + - /run/udev/data:/run/udev/data + + # Ports mapping between host and container + ports: + # Mapping port 3000 of the host to port 3000 of the container + - 3000:3000/tcp + + # Mapping port 11443 of the host to port 443 of the container + - 11443:443/tcp + + # Environment variables + environment: + # Tell Kasm where the port number + - KASM_PORT=11443 + +volumes: + # Volume definitions + kasm_opt: + driver: local + kasm_profiles: + driver: local