feat:添加cloudreve、nginx-proxy-manager、code-server (#204)

* feat:添加adguardhome、memcached、qiandao、lsky-pro、bitwarden、rustdesk、synapse

* feat:添加cloudreve、nginx-proxy-manager、code-server
This commit is contained in:
okxlin 2023-07-06 13:49:46 +08:00 committed by GitHub
parent 0cd96c9788
commit 47388ae401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 577 additions and 1 deletions

View File

@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: 40033
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data/uploads
edit: true
envKey: UPLOAD_PATH
labelEn: The upload file save path
labelZh: 上传文件保存路径
required: true
type: text
- default: ./data/data
edit: true
envKey: TMP_PATH
labelEn: Temp folder path
labelZh: 临时文件夹路径
required: true
type: text

View File

View File

View File

@ -0,0 +1,22 @@
version: '3'
services:
cloudreve:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:5212"
volumes:
- "${UPLOAD_PATH}:/cloudreve/uploads"
- "${TMP_PATH}:/data"
- "./data/conf.ini:/cloudreve/conf.ini"
- "./data/cloudreve.db:/cloudreve/cloudreve.db"
- "./data/avatar:/cloudreve/avatar"
image: cloudreve/cloudreve:3.8.0
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

110
apps/cloudreve/README.md Normal file
View File

@ -0,0 +1,110 @@
# 使用说明
账户与密码可以查看容器日志获得
# 原始相关
[English Version](https://github.com/cloudreve/Cloudreve/blob/master/README.md)
<h1 align="center">
<br>
<a href="https://cloudreve.org/" alt="logo" ><img src="https://raw.githubusercontent.com/cloudreve/frontend/master/public/static/img/logo192.png" width="150"/></a>
<br>
Cloudreve
<br>
</h1>
<h4 align="center">支持多家云存储驱动的公有云文件系统.</h4>
<p align="center">
<a href="https://github.com/cloudreve/Cloudreve/actions/workflows/test.yml">
<img src="https://img.shields.io/github/actions/workflow/status/cloudreve/Cloudreve/test.yml?branch=master&style=flat-square"
alt="GitHub Test Workflow">
</a>
<a href="https://codecov.io/gh/cloudreve/Cloudreve"><img src="https://img.shields.io/codecov/c/github/cloudreve/Cloudreve?style=flat-square"></a>
<a href="https://goreportcard.com/report/github.com/cloudreve/Cloudreve">
<img src="https://goreportcard.com/badge/github.com/cloudreve/Cloudreve?style=flat-square">
</a>
<a href="https://github.com/cloudreve/Cloudreve/releases">
<img src="https://img.shields.io/github/v/release/cloudreve/Cloudreve?include_prereleases&style=flat-square" />
</a>
<a href="https://hub.docker.com/r/cloudreve/cloudreve">
<img src="https://img.shields.io/docker/image-size/cloudreve/cloudreve?style=flat-square"/>
</a>
</p>
<p align="center">
<a href="https://cloudreve.org">主页</a>
<a href="https://demo.cloudreve.org">演示站</a>
<a href="https://forum.cloudreve.org/">讨论社区</a>
<a href="https://docs.cloudreve.org/">文档</a>
<a href="https://github.com/cloudreve/Cloudreve/releases">下载</a>
<a href="https://t.me/cloudreve_official">Telegram 群组</a>
<a href="#scroll-许可证">许可证</a>
</p>
![Screenshot](https://raw.githubusercontent.com/cloudreve/docs/master/images/homepage.png)
## :sparkles: 特性
* :cloud: 支持本机、从机、七牛、阿里云 OSS、腾讯云 COS、又拍云、OneDrive (包括世纪互联版) 、S3兼容协议 作为存储端
* :outbox_tray: 上传/下载 支持客户端直传,支持下载限速
* 💾 可对接 Aria2 离线下载,可使用多个从机节点分担下载任务
* 📚 在线 压缩/解压缩、多文件打包下载
* 💻 覆盖全部存储策略的 WebDAV 协议支持
* :zap: 拖拽上传、目录上传、流式上传处理
* :card_file_box: 文件拖拽管理
* :family_woman_girl_boy: 多用户、用户组、多存储策略
* :link: 创建文件、目录的分享链接,可设定自动过期
* :eye_speech_bubble: 视频、图像、音频、 ePub 在线预览文本、Office 文档在线编辑
* :art: 自定义配色、黑暗模式、PWA 应用、全站单页应用、国际化支持
* :rocket: All-In-One 打包,开箱即用
* 🌈 ... ...
## :hammer_and_wrench: 部署
下载适用于您目标机器操作系统、CPU架构的主程序直接运行即可。
```shell
# 解压程序包
tar -zxvf cloudreve_VERSION_OS_ARCH.tar.gz
# 赋予执行权限
chmod +x ./cloudreve
# 启动 Cloudreve
./cloudreve
```
以上为最简单的部署示例,您可以参考 [文档 - 起步](https://docs.cloudreve.org/) 进行更为完善的部署。
## :gear: 构建
自行构建前需要拥有 `Go >= 1.18`、`node.js`、`yarn`、`zip`, [goreleaser](https://goreleaser.com/intro/) 等必要依赖。
#### 安装 goreleaser
```shell
go install github.com/goreleaser/goreleaser@latest
```
#### 克隆代码
```shell
git clone --recurse-submodules https://github.com/cloudreve/Cloudreve.git
```
#### 编译项目
```shell
goreleaser build --clean --single-target --snapshot
```
## :alembic: 技术栈
* [Go](https://golang.org/) + [Gin](https://github.com/gin-gonic/gin)
* [React](https://github.com/facebook/react) + [Redux](https://github.com/reduxjs/redux) + [Material-UI](https://github.com/mui-org/material-ui)
## :scroll: 许可证
GPL V3

20
apps/cloudreve/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: Cloudreve
tags:
- 工具
title: 支持多家云存储的云盘系统
type: 工具
description: 支持多家云存储的云盘系统
additionalProperties:
key: cloudreve
name: Cloudreve
tags:
- Tool
shortDescZh: 支持多家云存储的云盘系统
shortDescEn: A cloud disk system that supports multiple cloud storage
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://cloudreve.org/
github: https://github.com/cloudreve/Cloudreve
document: https://docs.cloudreve.org/

BIN
apps/cloudreve/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,33 @@
additionalProperties:
formFields:
- default: 40031
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: code
envKey: WEB_PASSWORD
labelEn: Web access password
labelZh: 网页访问密码
random: true
required: true
rule: paramComplexity
type: password
- default: code
envKey: SUDO_PASSWORD
labelEn: sudo password
labelZh: sudo密码
random: true
required: true
rule: paramComplexity
type: password

View File

@ -0,0 +1,25 @@
version: '3'
services:
onenav:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8443"
volumes:
- "${DATA_PATH}:/config"
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- PASSWORD=${WEB_PASSWORD}
- SUDO_PASSWORD=${SUDO_PASSWORD}
- DEFAULT_WORKSPACE=/config/workspace
image: linuxserver/code-server:4.14.1
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,78 @@
# code-server
[!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/coder/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://coder.com/community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) [![codecov](https://codecov.io/gh/coder/code-server/branch/main/graph/badge.svg?token=5iM9farjnC)](https://codecov.io/gh/coder/code-server) [![See latest](https://img.shields.io/static/v1?label=Docs&message=see%20latest&color=blue)](https://coder.com/docs/code-server/latest)
Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and
access it in the browser.
![Screenshot](https://raw.githubusercontent.com/coder/code-server/main/docs/assets/screenshot.png)
## Highlights
- Code on any device with a consistent development environment
- Use cloud servers to speed up tests, compilations, downloads, and more
- Preserve battery life when you're on the go; all intensive tasks run on your
server
## Requirements
See [requirements](https://coder.com/docs/code-server/latest/requirements) for minimum specs, as well as instructions
on how to set up a Google VM on which you can install code-server.
**TL;DR:** Linux machine with WebSockets enabled, 1 GB RAM, and 2 vCPUs
## Getting started
There are four ways to get started:
1. Using the [install
script](https://github.com/coder/code-server/blob/main/install.sh), which
automates most of the process. The script uses the system package manager if
possible.
2. Manually [installing
code-server](https://coder.com/docs/code-server/latest/install)
3. Deploy code-server to your team with [coder/coder](https://cdr.co/coder-github)
4. Using our one-click buttons and guides to [deploy code-server to a cloud
provider](https://github.com/coder/deploy-code-server) ⚡
If you use the install script, you can preview what occurs during the install
process:
```bash
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
```
To install, run:
```bash
curl -fsSL https://code-server.dev/install.sh | sh
```
When done, the install script prints out instructions for running and starting
code-server.
> **Note**
> To manage code-server for a team on your infrastructure, see: [coder/coder](https://cdr.co/coder-github)
We also have an in-depth [setup and
configuration](https://coder.com/docs/code-server/latest/guide) guide.
## Questions?
See answers to [frequently asked
questions](https://coder.com/docs/code-server/latest/FAQ).
## Want to help?
See [Contributing](https://coder.com/docs/code-server/latest/CONTRIBUTING) for
details.
## Hiring
Interested in [working at Coder](https://coder.com/careers)? Check out [our open
positions](https://coder.com/careers#openings)!
## For Organizations
Want remote development for your organization or enterprise? Visit [our
website](https://coder.com) to learn more about Coder.

20
apps/code-server/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: code-server
tags:
- 工具
title: 在任何地方的任何计算机上运行VS Code并在浏览器中访问它
type: 工具
description: 在任何地方的任何计算机上运行VS Code并在浏览器中访问它
additionalProperties:
key: code-server
name: code-server
tags:
- Tool
shortDescZh: 在任何地方的任何计算机上运行VS Code并在浏览器中访问它
shortDescEn: Run VS Code on any machine anywhere and access it in the browser
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://coder.com/
github: https://github.com/coder/code-server
document: https://coder.com/docs/code-server/latest

BIN
apps/code-server/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -16,4 +16,4 @@ additionalProperties:
limit: 0
website: https://memcached.org/
github: https://github.com/memcached/memcached
document: https://github.com/memcached/memcached/wiki
document: https://github.com/memcached/memcached/wiki

View File

@ -0,0 +1,122 @@
# 使用说明
控制台默认账户密码
```
Email: admin@example.com
Password: changeme
```
# 原始相关
<p align="center">
<img src="https://nginxproxymanager.com/github.png">
<br><br>
<img src="https://img.shields.io/badge/version-2.10.3-green.svg?style=for-the-badge">
<a href="https://hub.docker.com/repository/docker/jc21/nginx-proxy-manager">
<img src="https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge">
</a>
<a href="https://hub.docker.com/repository/docker/jc21/nginx-proxy-manager">
<img src="https://img.shields.io/docker/pulls/jc21/nginx-proxy-manager.svg?style=for-the-badge">
</a>
</p>
This project comes as a pre-built docker image that enables you to easily forward to your websites
running at home or otherwise, including free SSL, without having to know too much about Nginx or Letsencrypt.
- [Quick Setup](#quick-setup)
- [Full Setup](https://nginxproxymanager.com/setup/)
- [Screenshots](https://nginxproxymanager.com/screenshots/)
## Project Goal
I created this project to fill a personal need to provide users with a easy way to accomplish reverse
proxying hosts with SSL termination and it had to be so easy that a monkey could do it. This goal hasn't changed.
While there might be advanced options they are optional and the project should be as simple as possible
so that the barrier for entry here is low.
<a href="https://www.buymeacoffee.com/jc21" target="_blank"><img src="http://public.jc21.com/github/by-me-a-coffee.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a>
## Features
- Beautiful and Secure Admin Interface based on [Tabler](https://tabler.github.io/)
- Easily create forwarding domains, redirections, streams and 404 hosts without knowing anything about Nginx
- Free SSL using Let's Encrypt or provide your own custom SSL certificates
- Access Lists and basic HTTP Authentication for your hosts
- Advanced Nginx configuration available for super users
- User management, permissions and audit log
## Hosting your home network
I won't go in to too much detail here but here are the basics for someone new to this self-hosted world.
1. Your home router will have a Port Forwarding section somewhere. Log in and find it
2. Add port forwarding for port 80 and 443 to the server hosting this project
3. Configure your domain name details to point to your home, either with a static ip or a service like DuckDNS or [Amazon Route53](https://github.com/jc21/route53-ddns)
4. Use the Nginx Proxy Manager as your gateway to forward to your other web based services
## Quick Setup
1. Install Docker and Docker-Compose
- [Docker Install documentation](https://docs.docker.com/install/)
- [Docker-Compose Install documentation](https://docs.docker.com/compose/install/)
2. Create a docker-compose.yml file similar to this:
```yml
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
```
This is the bare minimum configuration required. See the [documentation](https://nginxproxymanager.com/setup/) for more.
3. Bring up your stack by running
```bash
docker-compose up -d
# If using docker-compose-plugin
docker compose up -d
```
4. Log in to the Admin UI
When your docker container is running, connect to it on port `81` for the admin interface.
Sometimes this can take a little bit because of the entropy of keys.
[http://127.0.0.1:81](http://127.0.0.1:81)
Default Admin User:
```
Email: admin@example.com
Password: changeme
```
Immediately after logging in with this default user you will be asked to modify your details and change your password.
## Contributors
Special thanks to [all of our contributors](https://github.com/NginxProxyManager/nginx-proxy-manager/graphs/contributors).
## Getting Support
1. [Found a bug?](https://github.com/NginxProxyManager/nginx-proxy-manager/issues)
2. [Discussions](https://github.com/NginxProxyManager/nginx-proxy-manager/discussions)
3. [Development Gitter](https://gitter.im/nginx-proxy-manager/community)
4. [Reddit](https://reddit.com/r/nginxproxymanager)

View File

@ -0,0 +1,20 @@
name: NginxProxyManager
tags:
- 工具
title: 使用简单、强大的界面管理 Nginx 代理主机
type: 工具
description: 使用简单、强大的界面管理 Nginx 代理主机
additionalProperties:
key: nginx-proxy-manager
name: NginxProxyManager
tags:
- Tool
shortDescZh: 使用简单、强大的界面管理 Nginx 代理主机
shortDescEn: managing Nginx proxy hosts with a simple, powerful interface
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://nginxproxymanager.com/
github: https://github.com/NginxProxyManager/nginx-proxy-manager
document: https://nginxproxymanager.com/guide/

View File

@ -0,0 +1,40 @@
additionalProperties:
formFields:
- default: 30080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: 30081
edit: true
envKey: PANEL_APP_PORT_HTTP1
labelEn: Console Port
labelZh: 控制台端口
required: true
rule: paramPort
type: number
- default: 30443
edit: true
envKey: PANEL_APP_PORT_HTTP2
labelEn: HTTPS Port
labelZh: HTTPS端口
required: true
rule: paramPort
type: number
- default: ./data/data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ./data/ssl
edit: true
envKey: SSL_PATH
labelEn: SSL folder path
labelZh: 证书文件夹路径
required: true
type: text

View File

@ -0,0 +1,21 @@
version: '3'
services:
nginxpm:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
- "${PANEL_APP_PORT_HTTP1}:81"
- "${PANEL_APP_PORT_HTTP2}:443"
volumes:
- "${DATA_PATH}:/data"
- "${SSL_PATH}:/etc/letsencrypt"
image: jc21/nginx-proxy-manager:github-pr-3027
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,11 @@
additionalProperties:
formFields:
- default: 40026
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number

View File

@ -0,0 +1,30 @@
version: "3"
services:
synapse:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
volumes:
- synapse-data:/data
ports:
- "${PANEL_APP_PORT_HTTP}:8008"
environment:
- TZ=Asia/Shanghai
- UID=1000
- GID=1000
image: matrixdotorg/synapse:v1.86.0
logging:
options:
max-size: "10m"
command: run -m synapse.app.homeserver --config-path=/data/homeserver.yaml
labels:
createdBy: "Apps"
volumes:
synapse-data:
external: true
networks:
1panel-network:
external: true