update kasm.json file to make it a simpler install

This commit is contained in:
Robert Middleswarth 2023-04-14 23:44:28 -04:00
parent 6788c254cf
commit ee1668b235
2 changed files with 13 additions and 36 deletions

View file

@ -29,7 +29,7 @@ sudo docker stop $portainer_pid || warning "Failed to stop portainer!"
sudo docker rm $portainer_pid || warning "Failed to remove portainer container!"
sudo docker rmi $portainer_name || warning "Failed to remove/untag images from the container!"
echo Pruning unused volumes
echo Pruning unused volume. If asked answer yes.
sudo docker volume prune
echo now doing a fresh install of portainer

View file

@ -4,38 +4,23 @@
"tools"
],
"description": "Kasm is a web-accessible desktop environment.",
"env": [
{
"default": "4011",
"label": "KASM_PORT",
"name": "KASM_PORT"
},
{
"default": "",
"label": "DOCKER_HUB_USERNAME",
"name": "DOCKER_HUB_USERNAME"
},
{
"default": "",
"label": "DOCKER_HUB_PASSWORD",
"name": "DOCKER_HUB_PASSWORD"
},
{
"default": "",
"label": "MODPROBE_CMD",
"name": "MODPROBE_CMD"
}
],
"env": [
{
"default": "4011",
"label": "KASM_PORT",
"name": "KASM_PORT"
}
],
"image_arm64": "lscr.io/linuxserver/kasm:latest",
"image_amd64": "lscr.io/linuxserver/kasm:latest",
"logo": "https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/images/kasm-server.png",
"name": "Kasm",
"note": "make sure you fill out your username and password in the DOCKER_HUB_USERNAME/PASSWORD areas",
"note": "",
"officialDoc": "https://github.com/linuxserver/docker-kasm",
"platform": "linux",
"ports": [
"4010:3000/tcp",
"4011:443/tcp"
"4011:443/tcp"
],
"privileged": true,
"restart_policy": "unless-stopped",
@ -43,21 +28,13 @@
"type": 1,
"volumes": [
{
"bind": "/portainer/Files/AppData/Config/kasm/data",
"container": "/data"
"bind": "/portainer/Files/AppData/Config/kasm/opt",
"container": "/opt"
},
{
"bind": "/portainer/Files/AppData/Config/kasm/profiles",
"container": "/profiles"
},
{
"bind": "/portainer/Files/AppData/Config/kasm/dev_input",
"container": "/dev_input"
},
{
"bind": "/portainer/Files/AppData/Config/kasm/run_udev_data",
"container": "/udev_data"
}
}
],
"webpage": "https://www.kasmweb.com/"
}