diff --git a/apps/chrome-browser/1.16.0/.env.sample b/apps/chrome-browser/1.16.0/.env.sample new file mode 100644 index 00000000..e9f36cdc --- /dev/null +++ b/apps/chrome-browser/1.16.0/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="chrome-browser" +HTTP_PWD="password" +MEM_USE="1024m" +PANEL_APP_PORT_HTTPS=40313 diff --git a/apps/chrome-browser/1.16.0/data.yml b/apps/chrome-browser/1.16.0/data.yml new file mode 100644 index 00000000..1ff8bd5e --- /dev/null +++ b/apps/chrome-browser/1.16.0/data.yml @@ -0,0 +1,26 @@ +additionalProperties: + formFields: + - default: "40313" + edit: true + envKey: PANEL_APP_PORT_HTTPS + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "password" + edit: true + envKey: HTTP_PWD + labelEn: Access Password + labelZh: 访问密码 + random: true + required: true + rule: paramComplexity + type: password + - default: "1024m" + edit: true + envKey: MEM_USE + labelEn: Shared memory footprint (1gb) + labelZh: 共享内存占用(1gb) + required: true + type: text diff --git a/apps/chrome-browser/1.16.0/docker-compose.yml b/apps/chrome-browser/1.16.0/docker-compose.yml new file mode 100644 index 00000000..9a63981c --- /dev/null +++ b/apps/chrome-browser/1.16.0/docker-compose.yml @@ -0,0 +1,24 @@ +services: + chrome: + image: "kasmweb/chrome:1.16.0" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTPS}:6901" + volumes: + - "chrome_data:/home/kasm-user" + environment: + - VNC_PW=${HTTP_PWD} + shm_size: ${MEM_USE} + labels: + createdBy: "Apps" + +volumes: + chrome_data: + name: chrome_data + +networks: + 1panel-network: + external: true diff --git a/apps/chrome-browser/1.16.0/scripts/uninstall.sh b/apps/chrome-browser/1.16.0/scripts/uninstall.sh new file mode 100644 index 00000000..1a62d5e5 --- /dev/null +++ b/apps/chrome-browser/1.16.0/scripts/uninstall.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker-compose down --volumes \ No newline at end of file diff --git a/apps/chrome-browser/README.md b/apps/chrome-browser/README.md new file mode 100644 index 00000000..8958d234 --- /dev/null +++ b/apps/chrome-browser/README.md @@ -0,0 +1,10 @@ +# Chrome + +专为您而打造的浏览器 + +# 使用说明 + +- 默认账户 +``` +username: kasm_user +``` \ No newline at end of file diff --git a/apps/chrome-browser/data.yml b/apps/chrome-browser/data.yml new file mode 100644 index 00000000..1389a3e5 --- /dev/null +++ b/apps/chrome-browser/data.yml @@ -0,0 +1,19 @@ +name: Chrome Browser +tags: + - 实用工具 +title: Google Chrome 浏览器 +description: Google Chrome 浏览器 +additionalProperties: + key: chrome-browser + name: Chrome Browser + tags: + - Tool + shortDescZh: Google Chrome 浏览器 + shortDescEn: Google Chrome + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://www.google.com/chrome/ + github: https://www.google.com/chrome/ + document: https://www.google.com/chrome/ diff --git a/apps/chrome-browser/develop/.env.sample b/apps/chrome-browser/develop/.env.sample new file mode 100644 index 00000000..e9f36cdc --- /dev/null +++ b/apps/chrome-browser/develop/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="chrome-browser" +HTTP_PWD="password" +MEM_USE="1024m" +PANEL_APP_PORT_HTTPS=40313 diff --git a/apps/chrome-browser/develop/data.yml b/apps/chrome-browser/develop/data.yml new file mode 100644 index 00000000..1ff8bd5e --- /dev/null +++ b/apps/chrome-browser/develop/data.yml @@ -0,0 +1,26 @@ +additionalProperties: + formFields: + - default: "40313" + edit: true + envKey: PANEL_APP_PORT_HTTPS + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "password" + edit: true + envKey: HTTP_PWD + labelEn: Access Password + labelZh: 访问密码 + random: true + required: true + rule: paramComplexity + type: password + - default: "1024m" + edit: true + envKey: MEM_USE + labelEn: Shared memory footprint (1gb) + labelZh: 共享内存占用(1gb) + required: true + type: text diff --git a/apps/chrome-browser/develop/docker-compose.yml b/apps/chrome-browser/develop/docker-compose.yml new file mode 100644 index 00000000..b47c5344 --- /dev/null +++ b/apps/chrome-browser/develop/docker-compose.yml @@ -0,0 +1,24 @@ +services: + chrome: + image: "kasmweb/chrome:develop" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTPS}:6901" + volumes: + - "chrome_data:/home/kasm-user" + environment: + - VNC_PW=${HTTP_PWD} + shm_size: ${MEM_USE} + labels: + createdBy: "Apps" + +volumes: + chrome_data: + name: chrome_data + +networks: + 1panel-network: + external: true diff --git a/apps/chrome-browser/develop/scripts/uninstall.sh b/apps/chrome-browser/develop/scripts/uninstall.sh new file mode 100644 index 00000000..1a62d5e5 --- /dev/null +++ b/apps/chrome-browser/develop/scripts/uninstall.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker-compose down --volumes \ No newline at end of file diff --git a/apps/chrome-browser/logo.png b/apps/chrome-browser/logo.png new file mode 100644 index 00000000..379d5045 Binary files /dev/null and b/apps/chrome-browser/logo.png differ