feat: 新增 Apache Tomcat (#1069)

This commit is contained in:
wanghe 2024-03-12 10:36:07 +08:00 committed by GitHub
parent fd7c3678a1
commit e8c41768cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 163 additions and 0 deletions

17
apps/tomcat/10.1.19/data.yml Executable file
View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 8080
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: tomcat
envKey: TOMCAT_PASSWORD
labelEn: Tomcat Password
labelZh: 管理员密码
random: true
required: true
rule: paramComplexity
type: password

View File

View File

@ -0,0 +1,19 @@
version: '3'
services:
nexus:
image: bitnami/tomcat:10.1.19
restart: always
container_name: ${CONTAINER_NAME}
environment:
- TOMCAT_PASSWORD=${TOMCAT_PASSWORD}
ports:
- ${PANEL_APP_PORT_HTTP}:8080
volumes:
- ./data:/bitnami/tomcat
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,3 @@
#!/bin/bash
chown -R 1001:1001 data

17
apps/tomcat/8.5.99/data.yml Executable file
View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 8080
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: tomcat
envKey: TOMCAT_PASSWORD
labelEn: Tomcat Password
labelZh: 管理员密码
random: true
required: true
rule: paramComplexity
type: password

View File

View File

@ -0,0 +1,19 @@
version: '3'
services:
nexus:
image: bitnami/tomcat:8.5.99
restart: always
container_name: ${CONTAINER_NAME}
environment:
- TOMCAT_PASSWORD=${TOMCAT_PASSWORD}
ports:
- ${PANEL_APP_PORT_HTTP}:8080
volumes:
- ./data:/bitnami/tomcat
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,3 @@
#!/bin/bash
chown -R 1001:1001 data

17
apps/tomcat/9.0.86/data.yml Executable file
View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 8080
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: tomcat
envKey: TOMCAT_PASSWORD
labelEn: Tomcat Password
labelZh: 管理员密码
random: true
required: true
rule: paramComplexity
type: password

View File

View File

@ -0,0 +1,19 @@
version: '3'
services:
nexus:
image: bitnami/tomcat:9.0.86
restart: always
container_name: ${CONTAINER_NAME}
environment:
- TOMCAT_PASSWORD=${TOMCAT_PASSWORD}
ports:
- ${PANEL_APP_PORT_HTTP}:8080
volumes:
- ./data:/bitnami/tomcat
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,3 @@
#!/bin/bash
chown -R 1001:1001 data

14
apps/tomcat/README.md Normal file
View File

@ -0,0 +1,14 @@
# 使用说明
- 管理员用户名manager
- 镜像采用的是 Java 17 版本。
# Apache Tomcat
Apache Tomcat® 软件是 Java Servlet、JavaServer Pages、Java Expression Language 和 Java WebSocket 技术的开源实现。Java Servlet、JavaServer Pages、Java Expression Language 和 Java WebSocket 规范是在 [Java 社区进程](https://jcp.org/en/introduction/overview) 下开发的。
Apache Tomcat 软件是在开放和参与式环境中开发的,并在 [Apache 许可证版本 2](](https://www.apache.org/licenses/)) 下发布。Apache Tomcat 项目旨在成为来自世界各地的最优秀开发者的合作。我们邀请您参与这个开放的开发项目。要了解更多信息,[点击这里](https://tomcat.apache.org/getinvolved.html) 或继续阅读。
Apache Tomcat 软件驱动着许多大型、关键性的网络应用程序,涵盖了各种行业和组织。其中一些用户及其故事列在 [PoweredBy wiki 页面](https://cwiki.apache.org/confluence/display/TOMCAT/PoweredBy)上。
Apache Tomcat、Tomcat、Apache、Apache feather和 Apache Tomcat 项目标志是 Apache 软件基金会的商标。

20
apps/tomcat/data.yml Executable file
View File

@ -0,0 +1,20 @@
name: Apache Tomcat
tags:
- 开发工具
title: 开源的 Web 服务器和 Servlet 容器
type: 开发工具
description: 开源的 Web 服务器和 Servlet 容器
additionalProperties:
key: tomcat
name: Apache Tomcat
tags:
- DevTool
shortDescZh: 开源的 Web 服务器和 Servlet 容器
shortDescEn: An open-source web server and servlet container
type: tool
crossVersionUpdate: false
limit: 0
recommend: 0
website: https://tomcat.apache.org/
github: https://github.com/apache/tomcat
document: https://tomcat.apache.org/

BIN
apps/tomcat/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -49,6 +49,18 @@
{
"matchFileNames": ["apps/dataease/2.*/*.yml"],
"allowedVersions": ">=2.0"
},
{
"matchFileNames": ["apps/tomcat/8.*/*.yml"],
"allowedVersions": "/^8.*/"
},
{
"matchFileNames": ["apps/tomcat/9.*/*.yml"],
"allowedVersions": "/^9.*/"
},
{
"matchFileNames": ["apps/tomcat/10.*/*.yml"],
"allowedVersions": "/^10.*/"
}
],
"prCreation": "immediate"