feat: 增加 PostgreSQL GitLab Jenkins 等应用

This commit is contained in:
zhengkunwang223 2023-02-22 17:12:24 +08:00
parent 8e44e54d87
commit e222a00022
45 changed files with 428 additions and 38 deletions

View File

@ -1,14 +1,4 @@
<p align="center"><a href="https://dataease.io"><img src="https://dataease.oss-cn-hangzhou.aliyuncs.com/img/dataease-logo.png" alt="DataEase" width="300" /></a></p>
<h3 align="center">人人可用的开源数据可视化分析工具</h3>
<p align="center">
<a href="https://www.gnu.org/licenses/old-licenses/gpl-3.0"><img src="https://img.shields.io/github/license/dataease/dataease?color=%231890FF" alt="License: GPL v3"></a>
<a href="https://app.codacy.com/gh/dataease/dataease?utm_source=github.com&utm_medium=referral&utm_content=dataease/dataease&utm_campaign=Badge_Grade_Dashboard"><img src="https://app.codacy.com/project/badge/Grade/da67574fd82b473992781d1386b937ef" alt="Codacy"></a>
<a href="https://github.com/dataease/dataease/releases/latest"><img src="https://img.shields.io/github/v/release/dataease/dataease" alt="Latest release"></a>
<a href="https://github.com/dataease/dataease"><img src="https://img.shields.io/github/stars/dataease/dataease?color=%231890FF&style=flat-square" alt="Stars"></a>
</p>
<hr/>
------------------------------
## 什么是 DataEase ##
DataEase 是开源的数据可视化分析工具帮助用户快速分析数据并洞察业务趋势从而实现业务的改进与优化。DataEase 支持丰富的数据源连接,能够通过拖拉拽方式快速制作图表,并可以方便的与他人分享。

View File

@ -2,7 +2,7 @@ version: '3'
services:
dataease:
image: registry.cn-qingdao.aliyuncs.com/dataease/dataease:v1.18.2
container_name: dataease
container_name: ${CONTAINER_NAME}
ports:
- ${PANEL_APP_PORT_HTTP}:8081
volumes:

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -0,0 +1,126 @@
# GitLab
## Canonical source
The canonical source of GitLab where all development takes place is [hosted on GitLab.com](https://gitlab.com/gitlab-org/gitlab).
If you wish to clone a copy of GitLab without proprietary code, you can use the read-only mirror of GitLab located at https://gitlab.com/gitlab-org/gitlab-foss/. However, please do not submit any issues and/or merge requests to that project.
## Free trial
You can request a free trial of GitLab Ultimate [on our website](https://about.gitlab.com/free-trial/).
## Open source software to collaborate on code
To see how GitLab looks please see the [features page on our website](https://about.gitlab.com/features/).
- Manage Git repositories with fine grained access controls that keep your code secure
- Perform code reviews and enhance collaboration with merge requests
- Complete continuous integration (CI) and continuous deployment/delivery (CD) pipelines to build, test, and deploy your applications
- Each project can also have an issue tracker, issue board, and a wiki
- Used by more than 100,000 organizations, GitLab is the most popular solution to manage Git repositories on-premises
- Completely free and open source (MIT Expat license)
## Editions
There are three editions of GitLab:
- GitLab Community Edition (CE) is available freely under the MIT Expat license.
- GitLab Enterprise Edition (EE) includes [extra features](https://about.gitlab.com/pricing/#compare-options) that are more useful for organizations with more than 100 users. To use EE and get official support please [become a subscriber](https://about.gitlab.com/pricing/).
- JiHu Edition (JH) tailored specifically for the [Chinese market](https://about.gitlab.cn/).
## Licensing
See the [LICENSE](LICENSE) file for licensing information as it pertains to
files in this repository.
## Hiring
We are hiring developers, support people, and production engineers all the time, please see our [jobs page](https://about.gitlab.com/jobs/).
## Website
On [about.gitlab.com](https://about.gitlab.com/) you can find more information about:
- [Subscriptions](https://about.gitlab.com/pricing/)
- [Consultancy](https://about.gitlab.com/consultancy/)
- [Community](https://about.gitlab.com/community/)
- [Hosted GitLab.com](https://about.gitlab.com/gitlab-com/) use GitLab as a free service
- [GitLab Enterprise Edition](https://about.gitlab.com/features/#enterprise) with additional features aimed at larger organizations.
- [GitLab CI](https://about.gitlab.com/gitlab-ci/) a continuous integration (CI) server that is easy to integrate with GitLab.
## Requirements
Please see the [requirements documentation](doc/install/requirements.md) for system requirements and more information about the supported operating systems.
## Installation
The recommended way to install GitLab is with the [Omnibus packages](https://about.gitlab.com/downloads/) on our package server.
Compared to an installation from source, this is faster and less error prone.
Just select your operating system, download the respective package (Debian or RPM) and install it using the system's package manager.
There are various other options to install GitLab, please refer to the [installation page on the GitLab website](https://about.gitlab.com/installation/) for more information.
## Contributing
GitLab is an open source project and we are very happy to accept community contributions. Please refer to [Contributing to GitLab page](https://about.gitlab.com/contributing/) for more details.
## Install a development environment
To work on GitLab itself, we recommend setting up your development environment with [the GitLab Development Kit](https://gitlab.com/gitlab-org/gitlab-development-kit).
If you do not use the GitLab Development Kit you need to install and configure all the dependencies yourself, this is a lot of work and error prone.
One small thing you also have to do when installing it yourself is to copy the example development Puma configuration file:
```shell
cp config/puma.example.development.rb config/puma.rb
```
Instructions on how to start GitLab and how to run the tests can be found in the [getting started section of the GitLab Development Kit](https://gitlab.com/gitlab-org/gitlab-development-kit#getting-started).
## Software stack
GitLab is a Ruby on Rails application that runs on the following software:
- Ubuntu/Debian/CentOS/RHEL/OpenSUSE
- Ruby (MRI) 2.7.7
- Git 2.33+
- Redis 5.0+
- PostgreSQL 12+
For more information please see the [architecture](https://docs.gitlab.com/ee/development/architecture.html) and [requirements](https://docs.gitlab.com/ee/install/requirements.html) documentation.
## UX design
Please adhere to the [UX Guide](https://design.gitlab.com/) when creating designs and implementing code.
## Third-party applications
There are a lot of [third-party applications integrating with GitLab](https://about.gitlab.com/applications/). These include GUI Git clients, mobile applications and API wrappers for various languages.
## GitLab release cycle
For more information about the release process see the [release documentation](https://gitlab.com/gitlab-org/release-tools/blob/master/README.md).
## Upgrading
For upgrading information please see our [update page](https://about.gitlab.com/update/).
## Documentation
All documentation can be found on <https://docs.gitlab.com>.
## Getting help
Please see [Getting help for GitLab](https://about.gitlab.com/getting-help/) on our website for the many options to get help.
## Why?
[Read here](https://about.gitlab.com/why/)
## Is it any good?
[Yes](https://about.gitlab.com/is-it-any-good/)
## Is it awesome?
[These people](https://twitter.com/gitlab/followers) seem to like it.

View File

@ -0,0 +1,38 @@
{
"formFields": [
{
"type": "text",
"labelZh": "访问地址",
"labelEn": "Address",
"required": true,
"default": "",
"envKey": "GITLAB_HOSTNAME",
"placeholderZh": "请填写域名或者 IP 地址",
"placeholderEn": "Please fill in the domain name or IP address"
},
{
"type": "number",
"labelZh": "HTTP 端口",
"labelEn": "HTTP Port",
"required": true,
"default": 8090,
"envKey": "PANEL_APP_PORT_HTTP"
},
{
"type": "number",
"labelZh": "HTTPS 端口",
"labelEn": "HTTPS Port",
"required": true,
"default": 8443,
"envKey": "PANEL_APP_PORT_HTTPS"
},
{
"type": "number",
"labelZh": "SSH 端口",
"labelEn": "SSH Port",
"required": true,
"default": 2229,
"envKey": "JENKINS_SSH_PORT"
}
]
}

View File

@ -0,0 +1,25 @@
version: '3'
services:
gitlab:
image: 'gitlab/gitlab-ce:15.8.3-ce.0'
container_name: ${CONTAINER_NAME}
restart: always
hostname: ${GITLAB_HOSTNAME}
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://${GITLAB_HOSTNAME}:${PANEL_APP_PORT_HTTP}'
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
- ${PANEL_APP_PORT_HTTPS}:443
- ${JENKINS_SSH_PORT}:22
volumes:
- ./config:/etc/gitlab
- ./logs:/var/log/gitlab
- ./data:/var/opt/gitlab
shm_size: '256m'
networks:
- 1panel-network
networks:
1panel-network:
external: true

View File

@ -1,24 +1,3 @@
<p align="center">
<a href="https://halo.run" target="_blank" rel="noopener noreferrer">
<img width="100" src="https://halo.run/logo" alt="Halo logo" />
</a>
</p>
<p align="center"><b>Halo</b> [ˈheɪloʊ],强大易用的开源建站工具。</p>
<p align="center">
<a href="https://github.com/halo-dev/halo/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/halo-dev/halo.svg?style=flat-square&include_prereleases" /></a>
<a href="https://hub.docker.com/r/halohub/halo"><img alt="Docker pulls" src="https://img.shields.io/docker/pulls/halohub/halo?style=flat-square" /></a>
<a href="https://github.com/halo-dev/halo/commits"><img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/halo-dev/halo.svg?style=flat-square" /></a>
<a href="https://github.com/halo-dev/halo/actions"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/halo-dev/halo/halo.yaml?branch=main&style=flat-square" /></a>
<br />
<a href="https://halo.run">官网</a>
<a href="https://docs.halo.run">文档</a>
<a href="https://bbs.halo.run">社区</a>
<a href="https://gitee.com/halo-dev">Gitee</a>
<a href="https://t.me/halo_dev">Telegram 频道</a>
</p>
------------------------------
## 快速开始 ##

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -0,0 +1,75 @@
<a href="https://jenkins.io">
<picture>
<source width="400" media="(prefers-color-scheme: dark)" srcset="https://www.jenkins.io/images/jenkins-logo-title-dark.svg">
<img width="400" src="https://www.jenkins.io/images/jenkins-logo-title.svg">
</picture>
</a>
# About
[![Jenkins Regular Release](https://img.shields.io/endpoint?url=https%3A%2F%2Fwww.jenkins.io%2Fchangelog%2Fbadge.json)](https://www.jenkins.io/changelog)
[![Jenkins LTS Release](https://img.shields.io/endpoint?url=https%3A%2F%2Fwww.jenkins.io%2Fchangelog-stable%2Fbadge.json)](https://www.jenkins.io/changelog-stable)
[![Docker Pulls](https://img.shields.io/docker/pulls/jenkins/jenkins.svg)](https://hub.docker.com/r/jenkins/jenkins/)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3538/badge)](https://bestpractices.coreinfrastructure.org/projects/3538)
In a nutshell, Jenkins is the leading open-source automation server.
Built with Java, it provides over 1,800 [plugins](https://plugins.jenkins.io/) to support automating virtually anything,
so that humans can spend their time doing things machines cannot.
# What to Use Jenkins for and When to Use It
Use Jenkins to automate your development workflow, so you can focus on work that matters most. Jenkins is commonly used for:
- Building projects
- Running tests to detect bugs and other issues as soon as they are introduced
- Static code analysis
- Deployment
Execute repetitive tasks, save time, and optimize your development process with Jenkins.
# Downloads
The Jenkins project provides official distributions as WAR files, Docker images, native packages and installers for platforms including several Linux distributions and Windows.
See the [Downloads](https://www.jenkins.io/download) page for references.
For all distributions Jenkins offers two release lines:
- [Weekly](https://www.jenkins.io/download/weekly/) -
Frequent releases which include all new features, improvements, and bug fixes.
- [Long-Term Support (LTS)](https://www.jenkins.io/download/lts/) -
Older release line which gets periodically updated via bug fix backports.
Latest releases:
[![Jenkins Regular Release](https://img.shields.io/endpoint?url=https%3A%2F%2Fwww.jenkins.io%2Fchangelog%2Fbadge.json)](https://www.jenkins.io/changelog)
[![Jenkins LTS Release](https://img.shields.io/endpoint?url=https%3A%2F%2Fwww.jenkins.io%2Fchangelog-stable%2Fbadge.json)](https://www.jenkins.io/changelog-stable)
# Source
Our latest and greatest source of Jenkins can be found on [GitHub](https://github.com/jenkinsci/jenkins). Fork us!
# Contributing to Jenkins
Follow the [contributing guidelines](CONTRIBUTING.md) if you want to propose a change in the Jenkins core.
For more information about participating in the community and contributing to the Jenkins project,
see [this page](https://www.jenkins.io/participate/).
Documentation for Jenkins core maintainers is in the [maintainers guidelines](docs/MAINTAINERS.adoc).
# News and Website
All information about Jenkins can be found on our [website](https://www.jenkins.io/).
Follow us on [Twitter](https://twitter.com/jenkinsci) or [LinkedIn](https://www.linkedin.com/company/jenkins-project/).
# Governance
See the [Jenkins Governance Document](https://www.jenkins.io/project/governance/) for information about the project's open governance, our philosophy and values, and development practices.
Jenkins Code of Conduct can be found [here](https://www.jenkins.io/project/conduct/).
# Adopters
Jenkins is used by millions of users and thousands of companies.
See [adopters](https://www.jenkins.io/project/adopters/) for the list of Jenkins adopters and their success stories.
# License
Jenkins is **licensed** under the **[MIT License](https://github.com/jenkinsci/jenkins/blob/master/LICENSE.txt)**.

View File

@ -0,0 +1,12 @@
{
"formFields": [
{
"type": "number",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": 8080,
"envKey": "PANEL_APP_PORT_HTTP"
}
]
}

View File

@ -0,0 +1,20 @@
version: '3'
services:
jenkins:
container_name: ${CONTAINER_NAME}
image: jenkins/jenkins:2.391
restart: unless-stopped
privileged: true
user: root
ports:
- ${PANEL_APP_PORT_HTTP}:8080
volumes:
- ./jenkins:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
- /usr/local/bin/docker:/usr/local/bin/docker
networks:
- 1panel-network
networks:
1panel-network:
external: true

View File

@ -16,6 +16,10 @@
{
"key": "Tool",
"name": "工具"
},
{
"key": "CI/CD",
"name": "CI/CD"
}
],
"items": [
@ -36,7 +40,7 @@
"document": "https://dev.mysql.com/doc/"
},
{
"key": "nginx",
"key": "openresty",
"name": "OpenResty",
"tags": ["Server"],
"versions": ["1.21.4"],
@ -158,6 +162,51 @@
"website": "https://dataease.io/",
"github": "https://github.com/dataease/dataease",
"document": "https://dataease.io/docs/"
},
{
"key": "jenkins",
"name": "Jenkins",
"tags": ["CI/CD"],
"versions": ["2.391"],
"shortDescZh": "构建伟大,无所不能",
"shortDescEn": "Build great things at any scale",
"type": "tool",
"required": [],
"limit": 1,
"crossVersionUpdate": false,
"website": "https://www.jenkins.io/",
"github": "https://github.com/jenkinsci/jenkins",
"document": "https://www.jenkins.io/doc/book/"
},
{
"key": "gitlab",
"name": "GitLab",
"tags": ["CI/CD"],
"versions": ["15.8.3"],
"shortDescZh": "项目管理和代码托管平台",
"shortDescEn": "Project management and code hosting platform",
"type": "tool",
"required": [],
"limit": 1,
"crossVersionUpdate": false,
"website": "https://about.gitlab.com/",
"github": "https://github.com/gitlabhq/gitlabhq",
"document": "https://docs.gitlab.com/"
},
{
"key": "postgresql",
"name": "PostgreSQL",
"tags": ["Database"],
"versions": ["15.2-alpine"],
"shortDescZh": "开源关系型数据库",
"shortDescEn": "Open Source Relational Database",
"type": "runtime",
"required": [],
"limit": 1,
"crossVersionUpdate": false,
"website": "https://about.gitlab.com/",
"github": "https://github.com/postgres/postgres",
"document": "https://docs.gitlab.com/"
}
]
}

View File

@ -2,7 +2,7 @@ version: '3'
services:
minio:
image: minio/minio:RELEASE.2022-08-13T21-54-44Z
container_name: 1panel_minio
container_name: ${CONTAINER_NAME}
ports:
- ${PANEL_APP_PORT_HTTP}:9000
- ${PORT_API}:9001

View File

@ -17,7 +17,6 @@ services:
- ./log:/var/log/mysql
labels:
createdBy: "Apps"
command:
- --default-authentication-plugin=mysql_native_password

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -2,6 +2,7 @@ version: '3'
services:
openresty:
image: openresty/openresty:1.21.4.1-3-alpine
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
volumes:

View File

@ -2,7 +2,7 @@ version: '3'
services:
phpmyadmin:
image: phpmyadmin/phpmyadmin:5.2.0
container_name: 1panel_phpmyadmin
container_name: ${CONTAINER_NAME}
ports:
- ${PANEL_APP_PORT_HTTP}:80
environment:

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

@ -0,0 +1,27 @@
PostgreSQL Database Management System
=====================================
This directory contains the source code distribution of the PostgreSQL
database management system.
PostgreSQL is an advanced object-relational database management system
that supports an extended subset of the SQL standard, including
transactions, foreign keys, subqueries, triggers, user-defined types
and functions. This distribution also contains C language bindings.
PostgreSQL has many language interfaces, many of which are listed here:
https://www.postgresql.org/download/
See the file INSTALL for instructions on how to build and install
PostgreSQL. That file also lists supported operating systems and
hardware platforms and contains information regarding any other
software packages that are required to build or run the PostgreSQL
system. Copyright and license information can be found in the
file COPYRIGHT. A comprehensive documentation set is included in this
distribution; it can be read as described in the installation
instructions.
The latest version of this software may be obtained at
https://www.postgresql.org/download/. For more information look at our
web site located at https://www.postgresql.org/.

View File

@ -0,0 +1,28 @@
{
"formFields": [
{
"type": "text",
"labelZh": "用户名",
"labelEn": "Username",
"required": true,
"default": "random",
"envKey": "PANEL_DB_USER"
},
{
"type": "password",
"labelZh": "用户密码",
"labelEn": "Password",
"required": true,
"default": "random",
"envKey": "PANEL_DB_ROOT_PASSWORD"
},
{
"type": "number",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": 5432,
"envKey": "PANEL_APP_PORT_HTTP"
}
]
}

View File

@ -0,0 +1,19 @@
version: '3'
services:
postgres:
container_name: ${CONTAINER_NAME}
image: postgres:15.2-alpine
restart: always
environment:
- POSTGRES_USER=${PANEL_DB_USER}
- POSTGRES_PASSWORD=${PANEL_DB_ROOT_PASSWORD}
ports:
- ${PANEL_APP_PORT_HTTP}:5432
volumes:
- ./data:/var/lib/postgresql/data
networks:
- 1panel-network
networks:
1panel-network:
external: true

View File

@ -1,7 +1,7 @@
version: '3'
services:
redis-commander:
container_name: redis-commander
container_name: ${CONTAINER_NAME}
hostname: redis-commander
image: rediscommander/redis-commander:latest
restart: always

View File

@ -3,6 +3,7 @@ services:
redis:
image: redis:6.0.16
restart: always
container_name: ${CONTAINER_NAME}
networks:
- 1panel-network
ports:

View File

@ -3,6 +3,7 @@ services:
redis:
image: redis:7.0.5
restart: always
container_name: ${CONTAINER_NAME}
networks:
- 1panel-network
ports: