feat: 增加 TeamSpeak Server 应用 (#1654)

This commit is contained in:
BugKing 2024-06-27 10:49:39 +08:00 committed by GitHub
parent b429cad6e6
commit 2ecbb601ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 124 additions and 0 deletions

View File

@ -0,0 +1,67 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: mariadb
envKey: TS3SERVER_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: MariaDB
value: mariadb
- label: PostgreSQL
value: postgresql
- default: teamspeak
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: teamspeak
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: teamspeak
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 9987
edit: true
envKey: TS3SERVER_VOICE_PORT
labelEn: Voice Port
labelZh: Voice 端口
required: true
rule: paramPort
type: number
- default: 10011
edit: true
envKey: TS3SERVER_SQ_RAW_PORT
labelEn: ServerQuery (raw) Port
labelZh: ServerQuery (raw) 端口
required: true
rule: paramPort
type: number
- default: 30033
edit: true
envKey: TS3SERVER_FILETRANSFER_PORT
labelEn: Filetransfer Port
labelZh: Filetransfer 端口
required: true
rule: paramPort
type: number

View File

@ -0,0 +1,29 @@
version: '3'
services:
teamspeak:
image: teamspeak:3.13.7
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- ${TS3SERVER_VOICE_PORT}:9987/udp
- ${TS3SERVER_SQ_RAW_PORT}:10011
- ${TS3SERVER_FILETRANSFER_PORT}:30033
environment:
TS3SERVER_DB_PLUGIN: ts3db_${TS3SERVER_DB_TYPE}
TS3SERVER_DB_SQLCREATEPATH: create_${TS3SERVER_DB_TYPE}
TS3SERVER_DB_WAITUNTILREADY: 30
TS3SERVER_LICENSE: accept
TS3SERVER_DB_HOST: ${PANEL_DB_HOST}
TS3SERVER_DB_NAME: ${PANEL_DB_NAME}
TS3SERVER_DB_PORT: ${PANEL_DB_PORT}
TS3SERVER_DB_USER: ${PANEL_DB_USER}
TS3SERVER_DB_PASSWORD: ${PANEL_DB_USER_PASSWORD}
volumes:
- ./data:/var/ts3server
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

10
apps/teamspeak/README.md Normal file
View File

@ -0,0 +1,10 @@
# TeamSpeak
一款出色的网络语音 (VoIP) 解决方案。TeamSpeak 为世界上一些卓越网络提供关键的语音通信解决方案。
## 入门
通过 3 个简单的步骤连接到 TEAMSPEAK 服务器
1. 从下载页面试用最新的 [TeamSpeak 3 客户端](https://teamspeak.com/zh-CN/downloads/)并安装。
2. 启动 TeamSpeak 3 客户端,点击“连接”菜单,然后单击“连接”。
2. 输入您的服务器地址,选择昵称;如果需要,输入服务器密码。

18
apps/teamspeak/data.yml Normal file
View File

@ -0,0 +1,18 @@
name: TeamSpeak Server
tags:
- 实用工具
title: TeamSpeak Server
description: 一款出色的网络语音 (VoIP) 解决方案。
additionalProperties:
key: teamspeak
name: TeamSpeak
tags:
- Tool
shortDescZh: 一款出色的网络语音 (VoIP) 解决方案。
shortDescEn: An out-of-this-world VoIP solution.
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://teamspeak.com/
document: https://teamspeak.com/en/support/get-started/

BIN
apps/teamspeak/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB