发布应用 Neko
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
30f07e815e
commit
5fcd9a0082
|
|
@ -0,0 +1,38 @@
|
||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: 8080
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelZh: WebUI 端口
|
||||||
|
labelEn: WebUI port
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "56000-56100"
|
||||||
|
edit: true
|
||||||
|
envKey: NEKO_WEBRTC_EPR
|
||||||
|
labelZh: WebRTC 端口范围
|
||||||
|
labelEn: WebRTC port range
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "admin"
|
||||||
|
edit: true
|
||||||
|
envKey: NEKO_MEMBER_MULTIUSER_ADMIN_PASSWORD
|
||||||
|
labelZh: 管理员密码
|
||||||
|
labelEn: 管理员密码
|
||||||
|
required: true
|
||||||
|
type: password
|
||||||
|
- default: "neko"
|
||||||
|
edit: true
|
||||||
|
envKey: NEKO_MEMBER_MULTIUSER_USER_PASSWORD
|
||||||
|
labelZh: 用户密码
|
||||||
|
labelEn: 用户密码
|
||||||
|
required: true
|
||||||
|
type: password
|
||||||
|
- default: "1920x1080@30"
|
||||||
|
edit: true
|
||||||
|
envKey: NEKO_DESKTOP_SCREEN
|
||||||
|
labelZh: 桌面分辨率
|
||||||
|
labelEn: Desktop Resolution
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
neko:
|
||||||
|
image: ghcr.io/m1k1o/neko/firefox:3.0.6
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
restart: always
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
shm_size: "2gb"
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8080
|
||||||
|
- ${NEKO_WEBRTC_EPR}:${NEKO_WEBRTC_EPR}
|
||||||
|
- ${NEKO_WEBRTC_EPR}:${NEKO_WEBRTC_EPR}/udp
|
||||||
|
env_file:
|
||||||
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
- NEKO_WEBRTC_NAT1TO1=127.0.0.1
|
||||||
|
- NEKO_WEBRTC_ICELITE=1
|
||||||
|
- NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
ENV_FILE=.env
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
TZ=Asia/Shanghai
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Neko
|
||||||
|
|
||||||
|
在 docker 中运行并使用 WebRTC 的自托管虚拟浏览器
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 简介
|
||||||
|
|
||||||
|
Neko,这是一个在 Docker 中运行并使用 WebRTC 技术的自托管虚拟浏览器。Neko
|
||||||
|
是一款功能强大的工具,可让您在虚拟环境中运行功能齐全的浏览器,使您能够从任何地方安全、私密地访问互联网。使用
|
||||||
|
Neko,您可以像在普通浏览器上一样浏览网页、运行应用程序和执行其他任务,所有这些都在安全且隔离的环境中进行。无论您是想要测试
|
||||||
|
Web 应用程序的开发人员、寻求安全浏览体验的注重隐私的用户,还是只是想利用虚拟浏览器的便利性和灵活性,Neko 都是完美的解决方案。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|

|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
additionalProperties:
|
||||||
|
key: neko-firefox
|
||||||
|
name: Neko (FireFox版)
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
- Local
|
||||||
|
shortDescZh: 虚拟浏览器
|
||||||
|
shortDescEn: Virtual Browser
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
website: https://neko.m1k1o.net/
|
||||||
|
github: https://github.com/m1k1o/neko/
|
||||||
|
document: https://neko.m1k1o.net/
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Loading…
Reference in New Issue