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

This commit is contained in:
okxlin 2024-04-28 00:37:25 +08:00
parent c8b3a50c88
commit 71eb059662
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

@ -1,11 +1,11 @@
name: Pterodactyl
name: Pterodactyl (翼龙中国版)
tags:
- 休闲游戏
title: 一个免费的开源游戏服务器管理面板(前端)
description: 一个免费的开源游戏服务器管理面板(前端)
additionalProperties:
key: pterodactyl-panel
name: Pterodactyl
key: pterodactyl-china
name: Pterodactyl (翼龙中国版)
tags:
- Game
shortDescZh: 一个免费的开源游戏服务器管理面板(前端)
@ -13,7 +13,7 @@ additionalProperties:
type: tool
crossVersionUpdate: true
limit: 0
recommend: 11
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

View File

@ -1,88 +0,0 @@
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

@ -1,54 +0,0 @@
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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB