feat: update webtop (#920)

Co-authored-by: Ronald Loyko <info@nordia.io>
This commit is contained in:
Ronald Loyko 2023-05-07 01:13:37 +07:00 committed by GitHub
parent 9c2184b0dd
commit f3e70a5acb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 22 deletions

View File

@ -1,14 +1,15 @@
captainVersion: 4 captainVersion: 4
services: services:
$$cap_appname: $$cap_appname:
image: lscr.io/linuxserver/webtop:$$cap_webtop_version image: lscr.io/linuxserver/webtop:$$cap_WEBTOP_VERSION
hostname: $$cap_appname.$$cap_root_domain hostname: $$cap_appname.$$cap_root_domain
environment: environment:
TZ: $$cap_webtop_timezone TZ: $$cap_WEBTOP_TZ
PUID: $$cap_webtop_user_id PUID: $$cap_WEBTOP_PUID
PGID: $$cap_webtop_group_id PGID: $$cap_WEBTOP_PGID
KEYBOARD: $$cap_webtop_keyboard_layout CUSTOM_USER: $$cap_WEBTOP_CUSTOM_USER
AUTO_LOGIN: $$cap_webtop_auto_login PASSWORD: $$cap_WEBTOP_PASSWORD
TITLE: $$cap_WEBTOP_TITLE
volumes: volumes:
- $$cap_appname-config:/config - $$cap_appname-config:/config
caproverExtra: caproverExtra:
@ -25,35 +26,39 @@ caproverOneClickApp:
end: > end: >
Webtop has been successfully deployed! It might take few moments before it's fully started. Webtop has been successfully deployed! It might take few moments before it's fully started.
Please turn on "Websocket Support" in the settings. Please turn on "Websocket Support" in the settings.
You can access it at http://$$cap_appname.$$cap_root_domain with default login abc/abc You can access it at http://$$cap_appname.$$cap_root_domain with login user `$$cap_WEBTOP_CUSTOM_USER` and password `$$cap_WEBTOP_PASSWORD`
variables: variables:
- id: $$cap_webtop_version - id: $$cap_WEBTOP_VERSION
label: Version Tag label: Version Tag
description: Check out their documentation for the valid tags https://docs.linuxserver.io/images/docker-webtop#version-tags description: Check out their documentation for the valid tags https://docs.linuxserver.io/images/docker-webtop#version-tags
defaultValue: ubuntu-xfce-version-85c6c96d defaultValue: ubuntu-xfce
validRegex: "/^([^\\s^\\/])+$/" validRegex: "/^([^\\s^\\/])+$/"
- id: $$cap_webtop_timezone - id: $$cap_WEBTOP_TZ
label: Timezone label: Timezone
description: Timezone for the application, find yours at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones description: Timezone for the application, find yours at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
defaultValue: UTC defaultValue: Etc/UTC
validRegex: /.{1,}/ validRegex: /.{1,}/
- id: $$cap_webtop_user_id - id: $$cap_WEBTOP_PUID
label: User ID label: User ID
defaultValue: '1000' defaultValue: '1000'
description: User ID that the process uses, run (id $user) on your instance to see the ID description: User ID that the process uses, run (id $user) on your instance to see the ID
validRegex: /.{1,}/ validRegex: /.{1,}/
- id: $$cap_webtop_group_id - id: $$cap_WEBTOP_PGID
label: Group ID label: Group ID
defaultValue: '1000' defaultValue: '1000'
description: Group ID that the process uses, run (id $user) on your instance to see the ID description: Group ID that the process uses, run (id $user) on your instance to see the ID
validRegex: /.{1,}/ validRegex: /.{1,}/
- id: $$cap_webtop_keyboard_layout - id: $$cap_WEBTOP_CUSTOM_USER
label: Keyboard Layout label: User
description: Keyboard layout for use (e.g. "en-us-qwerty" for US or "de-de-qwertz" for German), see available layouts at https://docs.linuxserver.io/images/docker-webtop#application-setup description: HTTP basic authentication user name. Default is `abc`
defaultValue: en-us-qwerty defaultValue: abc
validRegex: "/^([^\\s^\\/])+$/" validRegex: "/^([^\\s^\\/])+$/"
- id: $$cap_webtop_auto_login - id: $$cap_WEBTOP_PASSWORD
label: Force Login label: Password
defaultValue: 'true' description: HTTP basic authentication password. Default is `abc`. If unset there will be no authentication.
description: If you change your password or want to login manually to the GUI set this to "false" defaultValue: $$cap_gen_random_hex(16)
validRegex: /^(true|false)$/ - id: $$cap_WEBTOP_TITLE
label: Title
description: The page title displayed on the web browser, default is "KasmVNC Client".
defaultValue: KasmVNC Client
validRegex: /.{1,}/