diff --git a/apps/pterodactyl-china/1.11.5.0/.env.sample b/apps/pterodactyl-china/1.11.5.0/.env.sample new file mode 100644 index 00000000..c1f7072e --- /dev/null +++ b/apps/pterodactyl-china/1.11.5.0/.env.sample @@ -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" diff --git a/apps/pterodactyl-china/1.11.5.0/data.yml b/apps/pterodactyl-china/1.11.5.0/data.yml new file mode 100644 index 00000000..b836fb43 --- /dev/null +++ b/apps/pterodactyl-china/1.11.5.0/data.yml @@ -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 diff --git a/apps/pterodactyl-china/1.11.5.0/docker-compose.yml b/apps/pterodactyl-china/1.11.5.0/docker-compose.yml new file mode 100644 index 00000000..6c2f2bb4 --- /dev/null +++ b/apps/pterodactyl-china/1.11.5.0/docker-compose.yml @@ -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 diff --git a/apps/pterodactyl-panel/README.md b/apps/pterodactyl-china/README.md similarity index 100% rename from apps/pterodactyl-panel/README.md rename to apps/pterodactyl-china/README.md diff --git a/apps/pterodactyl-panel/data.yml b/apps/pterodactyl-china/data.yml similarity index 79% rename from apps/pterodactyl-panel/data.yml rename to apps/pterodactyl-china/data.yml index 0e670ccf..1a154bda 100644 --- a/apps/pterodactyl-panel/data.yml +++ b/apps/pterodactyl-china/data.yml @@ -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/ diff --git a/apps/pterodactyl-china/latest/.env.sample b/apps/pterodactyl-china/latest/.env.sample new file mode 100644 index 00000000..c1f7072e --- /dev/null +++ b/apps/pterodactyl-china/latest/.env.sample @@ -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" diff --git a/apps/pterodactyl-china/latest/data.yml b/apps/pterodactyl-china/latest/data.yml new file mode 100644 index 00000000..b836fb43 --- /dev/null +++ b/apps/pterodactyl-china/latest/data.yml @@ -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 diff --git a/apps/pterodactyl-china/latest/docker-compose.yml b/apps/pterodactyl-china/latest/docker-compose.yml new file mode 100644 index 00000000..3c0c0863 --- /dev/null +++ b/apps/pterodactyl-china/latest/docker-compose.yml @@ -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 diff --git a/apps/pterodactyl-china/logo.png b/apps/pterodactyl-china/logo.png new file mode 100644 index 00000000..50dc3d08 Binary files /dev/null and b/apps/pterodactyl-china/logo.png differ diff --git a/apps/pterodactyl-panel/1.11.5.0/data.yml b/apps/pterodactyl-panel/1.11.5.0/data.yml deleted file mode 100644 index 314f4709..00000000 --- a/apps/pterodactyl-panel/1.11.5.0/data.yml +++ /dev/null @@ -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" \ No newline at end of file diff --git a/apps/pterodactyl-panel/1.11.5.0/docker-compose.yml b/apps/pterodactyl-panel/1.11.5.0/docker-compose.yml deleted file mode 100644 index e1ae2e36..00000000 --- a/apps/pterodactyl-panel/1.11.5.0/docker-compose.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/apps/pterodactyl-panel/logo.png b/apps/pterodactyl-panel/logo.png deleted file mode 100644 index 19d8b78b..00000000 Binary files a/apps/pterodactyl-panel/logo.png and /dev/null differ