Merge branch 'pr-1189' into localApps

This commit is contained in:
okxlin 2024-04-28 00:33:13 +08:00
commit c8b3a50c88
5 changed files with 180 additions and 0 deletions

View File

@ -0,0 +1,88 @@
additionalProperties:
formFields:
- 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: 80
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: HTTP 端口
required: true
rule: paramPort
type: number
- default: http://localhost:80
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: PANEL_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"

View File

@ -0,0 +1,54 @@
version: '3.8'
services:
pterodactyl-panel:
image: ghcr.dockerproxy.com/pterodactyl-china/panel:v1.11.5.0
command: >
/bin/sh -c "
if [ ! -f /app/var/initialized ]; then
php artisan p:user:make --email=${PANEL_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=1000
- USER_GID=1000
- 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="Asia/Shanghai"
- APP_SERVICE_AUTHOR="noreply@example.com"
- MAIL_FROM=${PANEL_MAIL_FROM}
- MAIL_DRIVER="smtp"
- MAIL_HOST="mail"
- MAIL_PORT="1025"
- MAIL_USERNAME=""
- MAIL_PASSWORD=""
- MAIL_ENCRYPTION="true"
- APP_ENV="production"
- APP_ENVIRONMENT_ONLY="false"
- CACHE_DRIVER="redis"
- SESSION_DRIVER="redis"
- QUEUE_DRIVER="redis"
- REDIS_HOST=${PANEL_REDIS_DB_HOST}
- REDIS_PASSWORD=${PANEL_REDIS_ROOT_PASSWORD}
- RECAPTCHA_ENABLED=${PANEL_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-panel
name: Pterodactyl
tags:
- Game
shortDescZh: 一个免费的开源游戏服务器管理面板(前端)
shortDescEn: open-source game server management panel(panel)
type: tool
crossVersionUpdate: true
limit: 0
recommend: 11
website: https://pterodactyl.top/
github: https://github.com/pterodactyl-china/panel
document: https://pterodactyl.top/

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB