feat:添加natter到列表

This commit is contained in:
okxlin 2024-06-05 18:45:54 +08:00
parent 7e05a1c552
commit ae780231d2
9 changed files with 144 additions and 0 deletions

View File

@ -0,0 +1,6 @@
CONTAINER_NAME="natter"
COMMAND="-m test"
EXTERNAL_DATA_PATH="./data"
INTERNAL_DATA_PATH="/data"
SERVICE_NAME="natter-service"
TIME_ZONE="Asia/Shanghai"

View File

@ -0,0 +1,38 @@
additionalProperties:
formFields:
- default: "natter-service"
edit: true
envKey: SERVICE_NAME
labelEn: Service Name
labelZh: 服务名称
required: true
rule: paramCommon
type: text
- default: "-m test"
edit: true
envKey: COMMAND
labelEn: Command
labelZh: 命令
required: true
type: text
- default: "./data"
edit: true
envKey: EXTERNAL_DATA_PATH
labelEn: External Data Path
labelZh: 外部数据路径
required: true
type: text
- default: "/data"
edit: true
envKey: INTERNAL_DATA_PATH
labelEn: Internal container data paths
labelZh: 容器内部数据路径
required: true
type: text
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text

View File

@ -0,0 +1,17 @@
services:
${SERVICE_NAME}:
image: "nattertool/natter:2.1.1"
container_name: ${CONTAINER_NAME}
command: ${COMMAND}
volumes:
- ${EXTERNAL_DATA_PATH}:${INTERNAL_DATA_PATH}
cap_add:
- NET_ADMIN
- NET_RAW
environment:
- TZ=${TIME_ZONE}
network_mode: host
restart: always
labels:
createdBy: "Apps"

3
apps/natter/README.md Normal file
View File

@ -0,0 +1,3 @@
# Natter
将 fullcone NAT (NAT 1) 后的端口,打洞暴露至互联网。

19
apps/natter/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: Natter
tags:
- 实用工具
title: Fullcone NAT 端口打洞工具
description: Fullcone NAT 端口打洞工具
additionalProperties:
key: natter
name: Natter
tags:
- Tool
shortDescZh: Fullcone NAT 端口打洞工具
shortDescEn: Expose your port behind full-cone NAT to the Internet
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://github.com/MikeWang000000/Natter
github: https://github.com/MikeWang000000/Natter
document: https://github.com/MikeWang000000/Natter

View File

@ -0,0 +1,6 @@
CONTAINER_NAME="natter"
COMMAND="-m test"
EXTERNAL_DATA_PATH="./data"
INTERNAL_DATA_PATH="/data"
SERVICE_NAME="natter-service"
TIME_ZONE="Asia/Shanghai"

View File

@ -0,0 +1,38 @@
additionalProperties:
formFields:
- default: "natter-service"
edit: true
envKey: SERVICE_NAME
labelEn: Service Name
labelZh: 服务名称
required: true
rule: paramCommon
type: text
- default: "-m test"
edit: true
envKey: COMMAND
labelEn: Command
labelZh: 命令
required: true
type: text
- default: "./data"
edit: true
envKey: EXTERNAL_DATA_PATH
labelEn: External Data Path
labelZh: 外部数据路径
required: true
type: text
- default: "/data"
edit: true
envKey: INTERNAL_DATA_PATH
labelEn: Internal container data paths
labelZh: 容器内部数据路径
required: true
type: text
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text

View File

@ -0,0 +1,17 @@
services:
${SERVICE_NAME}:
image: "nattertool/natter:latest"
container_name: ${CONTAINER_NAME}
command: ${COMMAND}
volumes:
- ${EXTERNAL_DATA_PATH}:${INTERNAL_DATA_PATH}
cap_add:
- NET_ADMIN
- NET_RAW
environment:
- TZ=${TIME_ZONE}
network_mode: host
restart: always
labels:
createdBy: "Apps"

BIN
apps/natter/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB