Created
January 11, 2025 14:29
-
-
Save NeoHBz/1d0ba6493b86ef1ce53536e5e03e0663 to your computer and use it in GitHub Desktop.
Docker Compose for spinning up instance of KASM Workspace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networks: | |
kasm-network: | |
driver: bridge | |
services: | |
kasm: | |
image: lscr.io/linuxserver/kasm:latest | |
container_name: kasm | |
privileged: true | |
security_opt: | |
# - apparmor:rootlesskit | |
- apparmor:unconfined # running in unconfined mode as rootlesskit was not supported on my host | |
environment: | |
- KASM_PORT=9999 | |
# - DOCKER_HUB_USERNAME=USERNAME #optional | |
# - DOCKER_HUB_PASSWORD=PASSWORD #optional | |
# - DOCKER_MTU=1500 #optional | |
volumes: | |
- ./data:/opt | |
- ./profiles:/profiles #optional | |
# - /dev/input:/dev/input #optional - gamepad support | |
# - /run/udev/data:/run/udev/data #optional - gamepad support | |
ports: | |
- 3000:3000 # initial setup | |
- 9999:9999 # kasm workspace | |
restart: unless-stopped | |
networks: | |
- kasm-network | |
dns: # DNS resolvers for the browsers inside containers to use | |
- 8.8.8.8 | |
- 8.8.4.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment