feat:添加chrome-browser到列表

This commit is contained in:
okxlin 2024-10-28 23:43:58 +08:00
parent 5d84476216
commit f7b920afcc
11 changed files with 143 additions and 0 deletions

View File

@ -0,0 +1,4 @@
CONTAINER_NAME="chrome-browser"
HTTP_PWD="password"
MEM_USE="1024m"
PANEL_APP_PORT_HTTPS=40313

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
#!/bin/bash
docker-compose down --volumes

View File

@ -0,0 +1,10 @@
# Chrome
专为您而打造的浏览器
# 使用说明
- 默认账户
```
username: kasm_user
```

View File

@ -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/

View File

@ -0,0 +1,4 @@
CONTAINER_NAME="chrome-browser"
HTTP_PWD="password"
MEM_USE="1024m"
PANEL_APP_PORT_HTTPS=40313

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
#!/bin/bash
docker-compose down --volumes

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB