1
0

chore(deps): update nattertool/natter docker tag to v2.2.1 (#2053)

This commit is contained in:
renovate[bot]
2025-10-13 02:07:41 +00:00
committed by GitHub
parent c7c35be10d
commit 0173e84975
3 changed files with 1 additions and 1 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.2.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"