1
0

feat:添加翼龙中国版到列表

This commit is contained in:
okxlin
2024-04-28 00:37:25 +08:00
parent 0399960928
commit 475bb4fb18
12 changed files with 584 additions and 146 deletions

View File

@@ -0,0 +1,29 @@
CONTAINER_NAME="pterodactyl-china"
APP_ENV="production"
APP_ENVIRONMENT_ONLY="false"
APP_SERVICE_AUTHOR="noreply@example.com"
CACHE_DRIVER="redis"
MAIL_DRIVER="smtp"
MAIL_ENCRYPTION="true"
MAIL_FROM="noreply@example.com"
MAIL_HOST="mail"
MAIL_PORT="1025"
MAIL_USERNAME=""
PANEL_APP_PORT_HTTP="40222"
PANEL_APP_URL="http://localhost:40222"
PANEL_DB_HOST="mysql"
PANEL_DB_HOST_NAME="mysql"
PANEL_DB_NAME="pterodactyl_8pn35e"
PANEL_DB_PORT="3306"
PANEL_DB_TYPE="mysql"
PANEL_DB_USER="pterodactyl_zmj6mN"
PANEL_DB_USER_PASSWORD="pterodactyl_JX8c5G"
PANEL_RECAPTCHA_ENABLED="true"
PANEL_REDIS_DB_HOST="redis"
PANEL_REDIS_ROOT_PASSWORD="jhkdjhkjdhsIUTYURTU_Z6ER6p"
QUEUE_DRIVER="redis"
REDIS_HOST="redis"
SESSION_DRIVER="redis"
TIME_ZONE="Asia/Shanghai"
USER_GID="1000"
USER_UID="1000"

View File

@@ -0,0 +1,207 @@
additionalProperties:
formFields:
- default: 1000
envKey: USER_UID
labelEn: User UID
labelZh: 用户 UID
required: true
type: text
- default: 1000
envKey: USER_GID
labelEn: User GID
labelZh: 用户 GID
required: true
type: text
- default: mysql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
values:
- label: MySQL
value: mysql
- default: pterodactyl
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: pterodactyl
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: pterodactyl
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 40222
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: HTTP 端口
required: true
rule: paramPort
type: number
- default: http://localhost:40222
edit: true
envKey: PANEL_APP_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
rule: paramExtUrl
type: text
- default: ""
envKey: PANEL_REDIS_DB_HOST
key: redis
labelEn: Redis Service
labelZh: 缓存服务服务
required: true
type: service
- default: ""
envKey: PANEL_REDIS_ROOT_PASSWORD
labelEn: Redis Service Password
labelZh: 缓存服务服务密码
required: true
type: password
- default: noreply@example.com
edit: true
envKey: MAIL_FROM
labelEn: MAIL FROM
labelZh: 预设作者邮箱
required: true
type: text
- default: "true"
edit: true
envKey: PANEL_RECAPTCHA_ENABLED
labelEn: RECAPTCHA ENABLED
labelZh: 谷歌人机验证
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text
- default: "noreply@example.com"
edit: true
envKey: APP_SERVICE_AUTHOR
labelEn: Application Service Author
labelZh: 应用服务作者
required: true
type: text
- default: smtp
edit: true
envKey: MAIL_DRIVER
labelEn: Mail Driver
labelZh: 邮件驱动
required: true
type: text
- default: mail
edit: true
envKey: MAIL_HOST
labelEn: Mail Host
labelZh: 邮件主机
required: true
type: text
- default: 1025
edit: true
envKey: MAIL_PORT
labelEn: Mail Port
labelZh: 邮件端口
required: true
type: text
- default: ''
edit: true
envKey: MAIL_USERNAME
labelEn: Mail Username
labelZh: 邮件用户名
required: false
type: text
- default: "true"
edit: true
envKey: MAIL_ENCRYPTION
labelEn: Mail Encryption
labelZh: 邮件加密
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: production
edit: true
envKey: APP_ENV
labelEn: Application Environment
labelZh: 应用环境
required: true
type: text
- default: "false"
edit: true
envKey: APP_ENVIRONMENT_ONLY
labelEn: Application Environment Only
labelZh: 仅应用环境
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: redis
disabled: true
envKey: CACHE_DRIVER
labelEn: Cache Driver
labelZh: 缓存驱动
required: true
type: text
- default: redis
disabled: true
envKey: SESSION_DRIVER
labelEn: Session Driver
labelZh: 会话驱动
required: true
type: text
- default: redis
disabled: true
envKey: QUEUE_DRIVER
labelEn: Queue Driver
labelZh: 队列驱动
required: true
type: text
- default: ""
envKey: REDIS_HOST
key: redis
labelEn: Redis Service
labelZh: Redis 服务
required: true
type: service
- default: ""
envKey: PANEL_REDIS_ROOT_PASSWORD
labelEn: Redis Service Password
labelZh: Redis 服务密码
required: true
type: password

View File

@@ -0,0 +1,54 @@
version: '3.8'
services:
pterodactyl-china:
image: ghcr.io/pterodactyl-china/panel:v1.11.5.0
command: >
/bin/sh -c "
if [ ! -f /app/var/initialized ]; then
php artisan p:user:make --email=${MAIL_FROM} --username=admin --password=123456 --admin=1 --name-first=admin --name-last=admin;
touch /app/var/initialized;
fi;
supervisord -n -c /etc/supervisord.conf"
container_name: ${CONTAINER_NAME}
environment:
- USER_UID=${USER_UID}
- USER_GID=${USER_GID}
- DB_CONNECTION=${PANEL_DB_TYPE}
- DB_HOST=${PANEL_DB_HOST}
- DB_PORT=${PANEL_DB_PORT}
- DB_DATABASE=${PANEL_DB_NAME}
- DB_USERNAME=${PANEL_DB_USER}
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- APP_URL=${PANEL_APP_URL}
- APP_TIMEZONE=${TIME_ZONE}
- APP_SERVICE_AUTHOR=${APP_SERVICE_AUTHOR}
- MAIL_FROM=${MAIL_FROM}
- MAIL_DRIVER=${MAIL_DRIVER}
- MAIL_HOST=${MAIL_HOST}
- MAIL_PORT=${MAIL_PORT}
- MAIL_USERNAME=${MAIL_USERNAME}
- MAIL_PASSWORD=${MAIL_PASSWORD}
- MAIL_ENCRYPTION=${MAIL_ENCRYPTION}
- APP_ENV=${APP_ENV}
- APP_ENVIRONMENT_ONLY=${APP_ENVIRONMENT_ONLY}
- CACHE_DRIVER=${CACHE_DRIVER}
- SESSION_DRIVER=${SESSION_DRIVER}
- QUEUE_DRIVER=${QUEUE_DRIVER}
- REDIS_HOST=${REDIS_HOST}
- REDIS_PASSWORD=${PANEL_REDIS_ROOT_PASSWORD}
- RECAPTCHA_ENABLED=${RECAPTCHA_ENABLED}
restart: always
networks:
- 1panel-network
volumes:
- ./data/var/:/app/var/
- ./data/nginx/:/etc/nginx/http.d/
- ./data/certs/:/etc/letsencrypt/
- ./data/logs/:/app/storage/logs
ports:
- "${PANEL_APP_PORT_HTTP}:80"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@@ -0,0 +1,19 @@
# Pterodactyl®
**Pterodactyl®** 是一个免费的开源游戏服务器管理面板,使用 PHP、React 和 Go 构建。Pterodactyl 在设计时考虑了安全性,在隔离的 Docker 容器中运行所有游戏服务器,同时向最终用户展示了美观直观的 UI。
## 优势:
- **安全至上**:安全性是该项目的首要目标,具有 bcrypt 哈希、AES-256-CBC 加密和开箱即用的 HTTPS 支持。
- **现代化工具**:建立在现代堆栈上,利用最佳设计实践,使其易于进入和修改。
- **以Docker为核心**所有服务器都在隔离的Docker容器中运行限制了攻击媒介提供了严格的资源限制并提供了为每个特定游戏量身定做的环境。
- **免费和开源**翼龙是100%免费的并在MIT许可下授权。我们所有的代码也是完全开源的。
- **对用户友好**:把愤怒的点击和尖叫留给《守望先锋》吧。翼龙的界面设计得非常好,甚至连半藏都能使用它。
- **可扩展性**无论你是一家IDC服务商还是下一个Hyplex又或者是一起玩游戏的好朋友我们都能为你提供服务。
## 默认账户
- 账户:**admin**
- 密码:**123456**
**!!!请一定一定一定要进后台用户页将你的账户信息进行修改,否则很容易被他人访问!!!**

View File

@@ -0,0 +1,19 @@
name: Pterodactyl (翼龙中国版)
tags:
- 休闲游戏
title: 一个免费的开源游戏服务器管理面板(前端)
description: 一个免费的开源游戏服务器管理面板(前端)
additionalProperties:
key: pterodactyl-china
name: Pterodactyl (翼龙中国版)
tags:
- Game
shortDescZh: 一个免费的开源游戏服务器管理面板(前端)
shortDescEn: open-source game server management panel(panel)
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://pterodactyl.top/
github: https://github.com/pterodactyl-china/panel
document: https://pterodactyl.top/

View File

@@ -0,0 +1,29 @@
CONTAINER_NAME="pterodactyl-china"
APP_ENV="production"
APP_ENVIRONMENT_ONLY="false"
APP_SERVICE_AUTHOR="noreply@example.com"
CACHE_DRIVER="redis"
MAIL_DRIVER="smtp"
MAIL_ENCRYPTION="true"
MAIL_FROM="noreply@example.com"
MAIL_HOST="mail"
MAIL_PORT="1025"
MAIL_USERNAME=""
PANEL_APP_PORT_HTTP="40222"
PANEL_APP_URL="http://localhost:40222"
PANEL_DB_HOST="mysql"
PANEL_DB_HOST_NAME="mysql"
PANEL_DB_NAME="pterodactyl_8pn35e"
PANEL_DB_PORT="3306"
PANEL_DB_TYPE="mysql"
PANEL_DB_USER="pterodactyl_zmj6mN"
PANEL_DB_USER_PASSWORD="pterodactyl_JX8c5G"
PANEL_RECAPTCHA_ENABLED="true"
PANEL_REDIS_DB_HOST="redis"
PANEL_REDIS_ROOT_PASSWORD="jhkdjhkjdhsIUTYURTU_Z6ER6p"
QUEUE_DRIVER="redis"
REDIS_HOST="redis"
SESSION_DRIVER="redis"
TIME_ZONE="Asia/Shanghai"
USER_GID="1000"
USER_UID="1000"

View File

@@ -0,0 +1,207 @@
additionalProperties:
formFields:
- default: 1000
envKey: USER_UID
labelEn: User UID
labelZh: 用户 UID
required: true
type: text
- default: 1000
envKey: USER_GID
labelEn: User GID
labelZh: 用户 GID
required: true
type: text
- default: mysql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
values:
- label: MySQL
value: mysql
- default: pterodactyl
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: pterodactyl
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: pterodactyl
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 40222
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: HTTP 端口
required: true
rule: paramPort
type: number
- default: http://localhost:40222
edit: true
envKey: PANEL_APP_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
rule: paramExtUrl
type: text
- default: ""
envKey: PANEL_REDIS_DB_HOST
key: redis
labelEn: Redis Service
labelZh: 缓存服务服务
required: true
type: service
- default: ""
envKey: PANEL_REDIS_ROOT_PASSWORD
labelEn: Redis Service Password
labelZh: 缓存服务服务密码
required: true
type: password
- default: noreply@example.com
edit: true
envKey: MAIL_FROM
labelEn: MAIL FROM
labelZh: 预设作者邮箱
required: true
type: text
- default: "true"
edit: true
envKey: PANEL_RECAPTCHA_ENABLED
labelEn: RECAPTCHA ENABLED
labelZh: 谷歌人机验证
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text
- default: "noreply@example.com"
edit: true
envKey: APP_SERVICE_AUTHOR
labelEn: Application Service Author
labelZh: 应用服务作者
required: true
type: text
- default: smtp
edit: true
envKey: MAIL_DRIVER
labelEn: Mail Driver
labelZh: 邮件驱动
required: true
type: text
- default: mail
edit: true
envKey: MAIL_HOST
labelEn: Mail Host
labelZh: 邮件主机
required: true
type: text
- default: 1025
edit: true
envKey: MAIL_PORT
labelEn: Mail Port
labelZh: 邮件端口
required: true
type: text
- default: ''
edit: true
envKey: MAIL_USERNAME
labelEn: Mail Username
labelZh: 邮件用户名
required: false
type: text
- default: "true"
edit: true
envKey: MAIL_ENCRYPTION
labelEn: Mail Encryption
labelZh: 邮件加密
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: production
edit: true
envKey: APP_ENV
labelEn: Application Environment
labelZh: 应用环境
required: true
type: text
- default: "false"
edit: true
envKey: APP_ENVIRONMENT_ONLY
labelEn: Application Environment Only
labelZh: 仅应用环境
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: redis
disabled: true
envKey: CACHE_DRIVER
labelEn: Cache Driver
labelZh: 缓存驱动
required: true
type: text
- default: redis
disabled: true
envKey: SESSION_DRIVER
labelEn: Session Driver
labelZh: 会话驱动
required: true
type: text
- default: redis
disabled: true
envKey: QUEUE_DRIVER
labelEn: Queue Driver
labelZh: 队列驱动
required: true
type: text
- default: ""
envKey: REDIS_HOST
key: redis
labelEn: Redis Service
labelZh: Redis 服务
required: true
type: service
- default: ""
envKey: PANEL_REDIS_ROOT_PASSWORD
labelEn: Redis Service Password
labelZh: Redis 服务密码
required: true
type: password

View File

@@ -0,0 +1,54 @@
version: '3.8'
services:
pterodactyl-china:
image: ghcr.io/pterodactyl-china/panel:latest
command: >
/bin/sh -c "
if [ ! -f /app/var/initialized ]; then
php artisan p:user:make --email=${MAIL_FROM} --username=admin --password=123456 --admin=1 --name-first=admin --name-last=admin;
touch /app/var/initialized;
fi;
supervisord -n -c /etc/supervisord.conf"
container_name: ${CONTAINER_NAME}
environment:
- USER_UID=${USER_UID}
- USER_GID=${USER_GID}
- DB_CONNECTION=${PANEL_DB_TYPE}
- DB_HOST=${PANEL_DB_HOST}
- DB_PORT=${PANEL_DB_PORT}
- DB_DATABASE=${PANEL_DB_NAME}
- DB_USERNAME=${PANEL_DB_USER}
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- APP_URL=${PANEL_APP_URL}
- APP_TIMEZONE=${TIME_ZONE}
- APP_SERVICE_AUTHOR=${APP_SERVICE_AUTHOR}
- MAIL_FROM=${MAIL_FROM}
- MAIL_DRIVER=${MAIL_DRIVER}
- MAIL_HOST=${MAIL_HOST}
- MAIL_PORT=${MAIL_PORT}
- MAIL_USERNAME=${MAIL_USERNAME}
- MAIL_PASSWORD=${MAIL_PASSWORD}
- MAIL_ENCRYPTION=${MAIL_ENCRYPTION}
- APP_ENV=${APP_ENV}
- APP_ENVIRONMENT_ONLY=${APP_ENVIRONMENT_ONLY}
- CACHE_DRIVER=${CACHE_DRIVER}
- SESSION_DRIVER=${SESSION_DRIVER}
- QUEUE_DRIVER=${QUEUE_DRIVER}
- REDIS_HOST=${REDIS_HOST}
- REDIS_PASSWORD=${PANEL_REDIS_ROOT_PASSWORD}
- RECAPTCHA_ENABLED=${RECAPTCHA_ENABLED}
restart: always
networks:
- 1panel-network
volumes:
- ./data/var/:/app/var/
- ./data/nginx/:/etc/nginx/http.d/
- ./data/certs/:/etc/letsencrypt/
- ./data/logs/:/app/storage/logs
ports:
- "${PANEL_APP_PORT_HTTP}:80"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB