Browse Source

Customized 1.7.0

master^2
bengt@fredhs.net 2 years ago
parent
commit
83d0c13a58
  1. 2
      README.md
  2. 4
      bin/pull
  3. 9
      conf/database/seed_data/default_images.yaml
  4. 2
      conf/database/seed_data/default_properties.yaml
  5. 2
      docker/docker-compose-agent.yaml
  6. 2
      docker/docker-compose-all.yaml
  7. 2
      docker/docker-compose-api.yaml
  8. 2
      docker/docker-compose-app.yaml
  9. 4
      docker/docker-compose-db.yaml
  10. 1
      install.sh

2
README.md

@ -1,4 +1,4 @@
# Kasmweb install v1.6.0 and v1.6.1 images, including desktop-seafile image
# Kasmweb install v1.7.0 and v1.7.0 images, including desktop-seafile image
## Install instructions
```bash

4
bin/pull

@ -5,7 +5,7 @@ if [[ $EUID -ne 0 ]]; then
exit 1
fi
KASM_VERSION="1.6.0"
KASM_VERSION="1.7.0"
KASM_INSTALL_BASE="/opt/kasm/${KASM_VERSION}"
pushd ${KASM_INSTALL_BASE}/docker > /dev/null
@ -18,4 +18,4 @@ echo "Pulling Kasm Images"
docker-compose pull
echo "Starting Kasm Services"
docker-compose up -d
popd > /dev/null
popd > /dev/null

9
conf/database/seed_data/default_images.yaml

@ -18,6 +18,13 @@ images:
run_config: '{"hostname": "kasm"}'
image_src: img/thumbnails/desktop-deluxe.png
add_to_all_users_group: true
Kasm Desktop Seafile:
description: Kasm Desktop Environment with Seafile GUI
docker_registry: https://registry.fredhs.net/v2
name: registry.fredhs.net/r/kasmweb-desktop-seafile:latest
run_config: '{"hostname": "kasm"}'
image_src: img/thumbnails/desktop-seafile.png
available: false
Kasm Firefox:
description: 'Single-Application : Firefox'
docker_registry: https://index.docker.io/v1/
@ -41,4 +48,4 @@ images:
add_to_all_users_group: true
name: kasmweb/tor-browser:1.7.0
run_config: '{"hostname": "kasm"}'
exec_config: '{"first_launch":{"environment": {"LAUNCH_URL": ""}, "cmd":"bash -c ''/tmp/tor-browser_en-US/Browser/start-tor-browser --detach --allow-remote --new-tab \"$KASM_URL\"''"},"go":{"cmd":"bash -c ''/tmp/tor-browser_en-US/Browser/start-tor-browser --detach --allow-remote --new-tab --detach \"$KASM_URL\"''"}}'
exec_config: '{"first_launch":{"environment": {"LAUNCH_URL": ""}, "cmd":"bash -c ''/tmp/tor-browser_en-US/Browser/start-tor-browser --detach --allow-remote --new-tab \"$KASM_URL\"''"},"go":{"cmd":"bash -c ''/tmp/tor-browser_en-US/Browser/start-tor-browser --detach --allow-remote --new-tab --detach \"$KASM_URL\"''"}}'

2
conf/database/seed_data/default_properties.yaml

@ -297,6 +297,8 @@ groups:
settings:
administrator:
value: 'True'
enable_totp_two_factor:
value: 'True'
allow_kasm_audio:
value: 'True'
allow_kasm_microphone:

2
docker/docker-compose-agent.yaml

@ -21,7 +21,7 @@ services:
container_name: kasm_proxy
image: "nginx:alpine"
ports:
- "443:443"
- "127.0.0.1:443:443"
networks:
- kasm_default_network
volumes:

2
docker/docker-compose-all.yaml

@ -108,7 +108,7 @@ services:
container_name: kasm_proxy
image: "nginx:alpine"
ports:
- "443:443"
- "127.0.0.1:443:443"
networks:
- kasm_default_network
volumes:

2
docker/docker-compose-api.yaml

@ -18,7 +18,7 @@ services:
container_name: kasm_proxy
image: "nginx:alpine"
ports:
- "443:443"
- "127.0.0.1:443:443"
networks:
- kasm_default_network
volumes:

2
docker/docker-compose-app.yaml

@ -32,7 +32,7 @@ services:
container_name: kasm_proxy
image: "nginx:alpine"
ports:
- "443:443"
- "127.0.0.1:443:443"
networks:
- kasm_default_network
volumes:

4
docker/docker-compose-db.yaml

@ -5,7 +5,7 @@ services:
image: postgres:9.5-alpine
restart: always
ports:
- "5432:5432"
- "127.0.0.1:5432:5432"
networks:
- kasm_default_network
environment:
@ -29,7 +29,7 @@ services:
image: redis:5-alpine
restart: always
ports:
- "6379:6379"
- "127.0.0.1:6379:6379"
networks:
- kasm_default_network
environment:

1
install.sh

@ -269,6 +269,7 @@ function base_install() {
function pull_images() {
echo "Pulling default Kasm Images"
grep "name: kasmweb" ${KASM_RELEASE}/conf/database/seed_data/default_images.yaml | cut -d ":" -f2-3 | xargs -L 1 sudo docker pull
grep "name: registry.fredhs.net" ${KASM_RELEASE}/conf/database/seed_data/default_images.yaml | cut -d ":" -f2-3 | xargs -L 1 sudo docker pull
}
function copy_manager_configs() {

Loading…
Cancel
Save