feat:添加puter到列表

This commit is contained in:
okxlin 2024-06-20 22:59:23 +08:00
parent 365227050d
commit 09da05994d
9 changed files with 156 additions and 0 deletions

44
apps/puter/README.md Normal file
View File

@ -0,0 +1,44 @@
<h3 align="center"><img width="80" alt="Puter.com, The Personal Cloud Computer: All your files, apps, and games in one place accessible from anywhere at any time." src="https://assets.puter.site/puter-logo.png"></h3>
<h3 align="center">The Internet OS! Free, Open-Source, and Self-Hostable.</h3>
<p align="center">
<a href="https://puter.com/"><strong>« LIVE DEMO »</strong></a>
<br />
<br />
<a href="https://puter.com">Puter.com</a>
·
<a href="https://docs.puter.com" target="_blank">SDK</a>
·
<a href="https://discord.com/invite/PQcx7Teh8u">Discord</a>
·
<a href="https://reddit.com/r/puter">Reddit</a>
·
<a href="https://twitter.com/HeyPuter">X (Twitter)</a>
·
<a href="https://hackerone.com/puter_h1b">Bug Bounty</a>
</p>
<br/>
## Puter
Puter is an advanced, open-source internet operating system designed to be feature-rich, exceptionally fast, and highly extensible. It can be used to build remote desktop environments or serve as an interface for cloud storage services, remote servers, web hosting platforms, and more.
<br/>
## 使用说明
- 默认用户名与密码查看容器日志获取
- 修改配置文件后重建应用生效
- 注意查看官方文档以及登录页面的提示,修改配置文件的端口和域名/IP等的设置
配置文件路径,按需修改
```
/opt/1panel/apps/local/puter/puter/data/config/config.json
```

19
apps/puter/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: Puter
tags:
- 实用工具
title: 先进的开源互联网操作系统
description: 先进的开源互联网操作系统
additionalProperties:
key: puter
name: Puter
tags:
- Tool
shortDescZh: 先进的开源互联网操作系统
shortDescEn: An advanced, open-source internet operating system
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://puter.com
github: https://github.com/HeyPuter/puter
document: https://github.com/HeyPuter/puter

View File

@ -0,0 +1,8 @@
CONFIG_PATH="/etc/puter"
CONTAINER_NAME="puter"
DATA_PATH="./data"
PANEL_APP_PORT_HTTP=40263
PANEL_APP_PORT_INTERNAL=4100
PGID=1000
PUID=1000
TIME_ZONE="Asia/Shanghai"

View File

@ -0,0 +1,53 @@
additionalProperties:
formFields:
- default: 40263
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: 4100
edit: true
envKey: PANEL_APP_PORT_INTERNAL
labelEn: Internal Container Ports
labelZh: 容器内部端口
required: true
rule: paramPort
type: number
- default: "Asia/Shanghai"
edit: true
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
required: true
type: text
- default: 1000
disabled: true
envKey: PUID
labelEn: User ID
labelZh: 用户 ID
required: true
type: number
- default: 1000
disabled: true
envKey: PGID
labelEn: Group ID
labelZh: 组 ID
required: true
type: number
- default: "/etc/puter"
edit: true
envKey: CONFIG_PATH
labelEn: Config Path (Inside the container)
labelZh: 配置路径 (容器内部)
required: true
type: text
- default: "./data"
disabled: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text

View File

View File

View File

@ -0,0 +1,29 @@
services:
puter:
image: "ghcr.io/heyputer/puter:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_INTERNAL}"
environment:
- TZ=${TIME_ZONE}
- CONFIG_PATH=${CONFIG_PATH}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- "${DATA_PATH}/config:${CONFIG_PATH}"
- "${DATA_PATH}/data:/var/puter"
healthcheck:
test: wget --no-verbose --tries=1 --spider http://127.0.0.1:${PANEL_APP_PORT_INTERNAL}/test || exit 1
interval: 30s
timeout: 3s
retries: 3
start_period: 30s
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

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

BIN
apps/puter/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB