Repository navigation
Kasm: new service - #395
Draft
jackspiering wants to merge 3 commits into
Draft
jackspiering wants to merge 3 commits into
jackspiering wants to merge 3 commits into
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Kasm Workspaces (Community Edition) as a new stack, from the all-in-one
kasmweb/workspaces:1.19.0image that Kasm publishes (kasm-workspaces-dind).tailscaleortailscaled, so the stack puts Kasm on the Tailnet with the standard sidecar and Tailscale Serve.4443, not443. Serve holds443on the Tailscale IP, and Kasm's own443publish fails in the shared namespace withfailed to bind host port 0.0.0.0:443/tcp: address already in use(reproduced).KASM_PORT=4443, and Serve forwards withhttps+insecure..env. Theadmin@kasm.localanduser@kasm.localpasswords are set in the install wizard on port3000. The Docker Hub login is optional.1.19.0, because Kasm publishes nolatesttag../kasm-data/opt/(about 13 GB with one Alpine workspace image, so the README says to reserve space).The Compose block that issue #325 pastes is Open Notebook, not Kasm. Open Notebook is covered by #322 and #391, so this PR follows the issue title and the linked Kasm repository.
Related Issues
Verification
docker compose config --quietfromservices/kasm, with dummy values for required variables (the stack has none)rumdl check --config .markdownlint.yml .(0.2.78) on the whole repository, andgit diff --check origin/mainLive test, with a scratch copy and the test auth key:
curl -fsk https://127.0.0.1:4443/api/__healthcheck) returns{"ok": true}after the install.--resolve.user@kasm.localthrough the Serve URL, started a workspace, and loadedvnc.htmlplus a WebSocket upgrade (101 Switching Protocols) on/desktop/<id>/vnc/websockifythrough Serve. This also worked with the zone proxy port at4443and at0, so no change in Kasm's settings is needed.docker compose up -d --force-recreate: the install, user, and image list survived, and a new workspace started.4443port answered on the host.Not run:
unhealthyafter the 10-minutestart_perioduntil the wizard is done. The README says so./dev/input) were not tested and are not documented.Impact on existing users
Checklist
Additional Context
3000stays up after the install and has no sign-in. The README tells users to stop it from its dashboard when done.4443, which is the self-signed endpoint. The README tells users to use the Serve address.