feat:添加sunshine到列表

This commit is contained in:
okxlin 2024-08-04 01:06:01 +08:00
parent 7f139f488e
commit d5fcd77919
8 changed files with 138 additions and 0 deletions

21
apps/sunshine/README.md Normal file
View File

@ -0,0 +1,21 @@
概述
========
[](#overview)
LizardByte 的完整文档托管在 [Read the Docs](https://sunshinestream.readthedocs.io/) 上。
关于
-----
[](#about)
Sunshine 是一个自托管的游戏流媒体主机,用于 Moonlight。提供低延迟的云游戏服务器功能支持 AMD、Intel 和 Nvidia GPU 的硬件编码。也支持软件编码。你可以从各种设备上的任何 Moonlight 客户端连接到 Sunshine。提供了一个 Web 界面,允许你从你最喜欢的 Web 浏览器中进行配置和客户端配对。可以从本地服务器或任何移动设备进行配对。
System Requirements
-------------------
[](#system-requirements)
内存推荐`4GB`及以上。

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

@ -0,0 +1,19 @@
name: Sunshine
tags:
- 多媒体
title: 开源游戏串流服务
description: 开源游戏串流服务
additionalProperties:
key: sunshine
name: Sunshine
tags:
- Media
shortDescZh: 开源游戏串流服务
shortDescEn: Open-source game streaming service
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: http://app.lizardbyte.dev/Sunshine
github: https://github.com/LizardByte/Sunshine
document: https://sunshinestream.readthedocs.io

View File

@ -0,0 +1,9 @@
CONTAINER_NAME="sunshine"
DATA_PATH="./data"
PANEL_APP_PORT_HTTP2=48010
PANEL_APP_PORT_HTTPS=47990
PANEL_APP_PORT_TCP="47984-47989"
PANEL_APP_PORT_UDP="47998-48000"
PGID=1001
PUID=1001
TZ="Asia/Shanghai"

View File

@ -0,0 +1,60 @@
additionalProperties:
formFields:
- default: "47990"
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "48010"
edit: true
envKey: PANEL_APP_PORT_HTTP2
labelEn: Port 2
labelZh: 端口 2
required: true
rule: paramPort
type: number
- default: "47984-47989"
edit: true
envKey: PANEL_APP_PORT_TCP
labelEn: TCP Port Range
labelZh: TCP 端口范围
required: true
type: text
- default: "47998-48000"
edit: true
envKey: PANEL_APP_PORT_UDP
labelEn: TUDP Port Range
labelZh: UDP 端口范围
required: true
type: text
- default: "1001"
disabled: true
envKey: PUID
labelEn: User ID
labelZh: 用户 ID
required: true
type: number
- default: "1001"
disabled: true
envKey: PGID
labelEn: Group ID
labelZh: 用户组 ID
required: true
type: number
- default: "Asia/Shanghai"
edit: true
envKey: TZ
labelEn: Timezone
labelZh: 时区
required: true
type: text
- default: "./data"
disabled: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text

View File

View File

@ -0,0 +1,26 @@
services:
sunshine:
image: "lizardbyte/sunshine:latest-ubuntu-24.04"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
devices:
- /dev/dri/
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- ${DATA_PATH}:/config
ports:
- ${PANEL_APP_PORT_HTTPS}:47990
- "${PANEL_APP_PORT_TCP}:47984-47989/tcp"
- "${PANEL_APP_PORT_HTTP2}:48010"
- "${PANEL_APP_PORT_UDP}:47998-48000/udp"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

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

BIN
apps/sunshine/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB