Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2025-07-28 09:31:12 +00:00
parent 1615cec64d
commit e563f16a7c
65 changed files with 431 additions and 492 deletions

View File

@@ -19,7 +19,7 @@ services:
- AUTH_SITE=iyuu,hhclub,audiences,hddolby,zmpt,freefarm,hdfans,wintersakura,leaves,ptba,icc2022,xingtan,ptvicomo,agsvpt,hdkyl,qingwa,discfan,haidan,rousi,sunny,ptcafe,ptzone,kufei,yemapt
- HTTP_PROXY=${PROXY_HOST}
- HTTPS_PROXY=${PROXY_HOST}
image: jxxghp/moviepilot-v2:2.6.7
image: jxxghp/moviepilot-v2:2.6.8
labels:
createdBy: Apps
logging:

View File

@@ -0,0 +1,12 @@
# 数据持久化路径 [必填]
MX_SERVER_ROOT_PATH=/home/mx-space
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=2333
# JWT 密钥 [必填]
JWT_SECRET=
# 允许的访问来源 [必填]
ALLOWED_ORIGINS=,localhost

View File

@@ -0,0 +1,31 @@
additionalProperties:
formFields:
- default: "/home/mx-space"
edit: true
envKey: MX_SERVER_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 2333
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: JWT_SECRET
labelZh: JWT 密钥
labelEn: JWT Secret
required: true
type: text
- default: ",localhost"
edit: true
envKey: ALLOWED_ORIGINS
labelZh: 允许的访问来源
labelEn: 允许的访问来源
required: true
type: text

View File

@@ -0,0 +1,46 @@
networks:
1panel-network:
external: true
services:
mx-mongo:
container_name: mongo-mx-space-db
image: mongo
networks:
- 1panel-network
restart: always
volumes:
- ${MX_SERVER_ROOT_PATH}/db:/data/db
mx-redis:
container_name: redis-mx-space-db
image: redis:alpine
networks:
- 1panel-network
restart: always
volumes:
- ${MX_SERVER_ROOT_PATH}/redis:/data
mx-server:
container_name: mx-space-db
depends_on:
- mx-mongo
- mx-redis
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- PORT=2333
- DEMO=false
- NODE_ENV=production
- ENCRYPT_ENABLE=false
- DB_HOST=mx-mongo
- REDIS_HOST=mx-redis
image: innei/mx-server:8.4.0
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:2333
restart: always
volumes:
- ${MX_SERVER_ROOT_PATH}/data:/root/.mx-space

View File

@@ -0,0 +1,37 @@
# MixSpace (服务端)
Mix Space 是一个现代化的前后端分离个人空间解决方案,也可以作为个人博客使用。
![MixSpace](https://file.lifebus.top/imgs/mx-space_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 特性
### 基于 Next.js
内置代码分割和图片优化服务器端渲染SSR支持性能强劲速度快SEO 友好。
### 前端轻量快速
其前端主题 Shiro 在 LightHouse 中表现优秀Performance 和 Best practice 指数均大于 90%。
### UI 现代化
前端后端用户界面设计现代化,简洁而不简单,让你的体验更加流畅。
### Markdown 语法支持
Mix Space 原生支持 Markdown 语法,也支持自定义 Markdown 内语法,您可以使用自定义语法来丰富您的内容。
### 后台云函数配置
无限扩展、无限可能,通过 Core 内置的云函数配置功能实现歌单解析,追番列表等功能,还有更多。
### 动态化配置前端
你可以在后台设置前端的配置,比如网站名称,网站描述,网站图标,以及一些其他配置。
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)

View File

@@ -0,0 +1,14 @@
additionalProperties:
key: mx-space-db
name: MixSpace (内置MongoDB)
tags:
- WebSite
- Local
shortDescZh: 前后端分离个人空间解决方案
shortDescEn: A frontend-backend separation personal space solution
type: website
crossVersionUpdate: true
limit: 0
website: https://mx-space.js.org/
github: https://github.com/mx-space/
document: https://mx-space.js.org/

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -0,0 +1,18 @@
# 数据持久化路径 [必填]
MX_SERVER_SHIRO_ROOT_PATH=/home/mx-space-shiro
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=2323
# API 地址 [必填]
NEXT_PUBLIC_API_URL=http://127.0.0.1:2333/api/v2
# 网关地址 [必填]
NEXT_PUBLIC_GATEWAY_URL=http://127.0.0.1:2333/
# TMDB API KEY
TMDB_API_KEY=
# Github Token
GH_TOKEN=

View File

@@ -0,0 +1,45 @@
additionalProperties:
formFields:
- default: "/home/mx-space-shiro"
edit: true
envKey: MX_SERVER_SHIRO_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 2323
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: "http://127.0.0.1:2333/api/v2"
edit: true
envKey: NEXT_PUBLIC_API_URL
labelZh: API 地址
labelEn: API URL
required: true
type: text
- default: "http://127.0.0.1:2333/"
edit: true
envKey: NEXT_PUBLIC_GATEWAY_URL
labelZh: 网关地址
labelEn: Gateway URL
required: true
type: text
- default: ""
edit: true
envKey: TMDB_API_KEY
labelZh: TMDB API KEY
labelEn: TMDB API KEY
required: false
type: text
- default: ""
edit: true
envKey: GH_TOKEN
labelZh: Github Token
labelEn: Github Token
required: false
type: text

View File

@@ -0,0 +1,22 @@
networks:
1panel-network:
external: true
services:
mx-server-shiro:
container_name: mx-space-theme-shiro
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- NEXT_SHARP_PATH=/usr/local/lib/node_modules/sharp
image: innei/shiro:1.2.3
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:2323
restart: always
volumes:
- ${MX_SERVER_SHIRO_ROOT_PATH}/public:/app/public

View File

@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -0,0 +1,37 @@
# MixSpace Shiro (主题)
Mix Space 是一个现代化的前后端分离个人空间解决方案,也可以作为个人博客使用。
![MixSpace](https://file.lifebus.top/imgs/mx-space-theme-shiro_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 特性
### 基于 Next.js
内置代码分割和图片优化服务器端渲染SSR支持性能强劲速度快SEO 友好。
### 前端轻量快速
其前端主题 Shiro 在 LightHouse 中表现优秀Performance 和 Best practice 指数均大于 90%。
### UI 现代化
前端后端用户界面设计现代化,简洁而不简单,让你的体验更加流畅。
### Markdown 语法支持
Mix Space 原生支持 Markdown 语法,也支持自定义 Markdown 内语法,您可以使用自定义语法来丰富您的内容。
### 后台云函数配置
无限扩展、无限可能,通过 Core 内置的云函数配置功能实现歌单解析,追番列表等功能,还有更多。
### 动态化配置前端
你可以在后台设置前端的配置,比如网站名称,网站描述,网站图标,以及一些其他配置。
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)

View File

@@ -0,0 +1,14 @@
additionalProperties:
key: mx-space-theme-shiro
name: MixSpace (主题-Shiro)
tags:
- WebSite
- Local
shortDescZh: 前后端分离个人空间解决方案
shortDescEn: A frontend-backend separation personal space solution
type: website
crossVersionUpdate: true
limit: 0
website: https://mx-space.js.org/
github: https://github.com/mx-space/
document: https://mx-space.js.org/

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -1,4 +1,4 @@
# MixSpace
# MixSpace (服务端)
Mix Space 是一个现代化的前后端分离个人空间解决方案,也可以作为个人博客使用。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -1,51 +0,0 @@
# Postgres 服务 (前置检查)
PANEL_POSTGRES_TYPE=postgresql
# Redis 服务 (前置检查) [必填]
PANEL_REDIS_TYPE=redis
# 数据持久化路径 [必填]
CLICKHOUSE_SERVER_ROOT_PATH=/home/clickhouse-server
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=8123
# Native/TCP 通讯端口 [必填]
PANEL_APP_PORT_NATIVE_TCP=9000
# 服务器通信端口 [必填]
PANEL_APP_PORT_INTER_SERVER=9009
# ClickHouse 访问地址 [必填]
CLICKHOUSE_URL=http://127.0.0.1:8123/openpanel
# Redis 地址 [必填]
REDIS_URL=redis://127.0.0.1:6379
# Redis 地址 [必填]
DATABASE_URL=postgresql://postgres_user:postgres_pass@127.0.0.1:5432/postgres_db_name?schema=public
# 开放注册 [必填]
ALLOW_REGISTRATION=false
# 开放邀请 [必填]
ALLOW_INVITATION=false
# 邮件发送 (Resend) API KEY
RESEND_API_KEY=
# 邮件发送者地址
EMAIL_SENDER=
# Github 客户端 ID (OAuth2)
GITHUB_CLIENT_ID=
# Github 客户端密钥 (OAuth2)
GITHUB_CLIENT_SECRET=
# Google 客户端 ID (OAuth2)
GOOGLE_CLIENT_ID=
# Google 客户端密钥 (OAuth2)
GOOGLE_CLIENT_SECRET=

View File

@@ -1,29 +0,0 @@
<clickhouse>
<logger>
<level>warning</level>
<console>true</console>
</logger>
<keep_alive_timeout>10</keep_alive_timeout>
<!-- Stop all the unnecessary logging -->
<query_thread_log remove="remove"/>
<query_log remove="remove"/>
<text_log remove="remove"/>
<trace_log remove="remove"/>
<metric_log remove="remove"/>
<asynchronous_metric_log remove="remove"/>
<session_log remove="remove"/>
<part_log remove="remove"/>
<listen_host>0.0.0.0</listen_host>
<interserver_listen_host>0.0.0.0</interserver_listen_host>
<interserver_http_host>op-ch</interserver_http_host>
<!-- Not used anymore, but kept for backwards compatibility -->
<macros>
<shard>1</shard>
<replica>replica1</replica>
<cluster>openpanel_cluster</cluster>
</macros>
</clickhouse>

View File

@@ -1,8 +0,0 @@
<clickhouse>
<profiles>
<default>
<log_queries>0</log_queries>
<log_query_threads>0</log_query_threads>
</default>
</profiles>
</clickhouse>

View File

@@ -1,6 +0,0 @@
#!/bin/bash
set -e
clickhouse client -n <<-EOSQL
CREATE DATABASE IF NOT EXISTS openpanel;
EOSQL

View File

@@ -1,148 +0,0 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_POSTGRES_SERVICE
required: true
type: service
default: postgresql
envKey: PANEL_POSTGRES_TYPE
labelZh: Postgres 服务 (前置检查)
labelEn: Postgres Service (Pre-check)
required: false
type: apps
values:
- label: PostgreSQL
value: postgresql
- child:
default: ""
envKey: PANEL_REDIS_SERVICE
required: true
type: service
default: redis
envKey: PANEL_REDIS_TYPE
labelZh: Redis 服务 (前置检查)
labelEn: Redis Service (Pre-check)
required: true
type: apps
values:
- label: Redis
value: redis
- default: "/home/clickhouse-server"
edit: true
envKey: CLICKHOUSE_SERVER_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8123
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: 9000
edit: true
envKey: PANEL_APP_PORT_NATIVE_TCP
labelZh: Native/TCP 通讯端口
labelEn: Native/TCP interface
required: true
rule: paramPort
type: number
- default: 9009
edit: true
envKey: PANEL_APP_PORT_INTER_SERVER
labelZh: 服务器通信端口
labelEn: Inter-server communication
required: true
rule: paramPort
type: number
- default: "http://127.0.0.1:8123/openpanel"
edit: true
envKey: CLICKHOUSE_URL
labelZh: ClickHouse 访问地址
labelEn: ClickHouse URL
required: true
type: text
- default: "redis://127.0.0.1:6379"
edit: true
envKey: REDIS_URL
labelZh: Redis 地址
labelEn: Redis Url
required: true
type: text
- default: "postgresql://postgres_user:postgres_pass@127.0.0.1:5432/postgres_db_name?schema=public"
edit: true
envKey: DATABASE_URL
labelZh: Redis 地址
labelEn: Redis Url
required: true
type: text
- default: "false"
edit: true
envKey: ALLOW_REGISTRATION
labelZh: 开放注册
labelEn: Open Registration
required: true
type: select
values:
- label: 允许注册
value: "true"
- label: 禁止注册
value: "false"
- default: "false"
edit: true
envKey: ALLOW_INVITATION
labelZh: 开放邀请
labelEn: Open Invitation
required: true
type: select
values:
- label: 允许邀请
value: "true"
- label: 禁止邀请
value: "false"
- default: ""
edit: true
envKey: RESEND_API_KEY
labelZh: 邮件发送 (Resend) API KEY
labelEn: Email (Resend) Send API KEY
required: false
type: text
- default: ""
edit: true
envKey: EMAIL_SENDER
labelZh: 邮件发送者地址
labelEn: Email Sender Address
required: false
type: text
- default: ""
edit: true
envKey: GITHUB_CLIENT_ID
labelZh: Github 客户端 ID (OAuth2)
labelEn: Github Client ID (OAuth2)
required: false
type: text
- default: ""
edit: true
envKey: GITHUB_CLIENT_SECRET
labelZh: Github 客户端密钥 (OAuth2)
labelEn: Github Client Secret (OAuth2)
required: false
type: text
- default: ""
edit: true
envKey: GOOGLE_CLIENT_ID
labelZh: Google 客户端 ID (OAuth2)
labelEn: Google Client ID (OAuth2)
required: false
type: text
- default: ""
edit: true
envKey: GOOGLE_CLIENT_SECRET
labelZh: Google 客户端密钥 (OAuth2)
labelEn: Google Client Secret (OAuth2)
required: false
type: text

View File

@@ -1,41 +0,0 @@
networks:
1panel-network:
external: true
services:
clickhouse-server:
container_name: openpanel
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- DATABASE_URL_DIRECT=${DATABASE_URL}
- BATCH_SIZE=5000
- BATCH_INTERVAL=10000
- CONCURRENCY=10
- WORKER_PORT=9999
- API_PORT=3333
- NEXT_PUBLIC_API_URL="http://localhost:3333"
- NEXT_PUBLIC_DASHBOARD_URL="http://localhost:3000"
- GITHUB_REDIRECT_URI=https://openpanel.domain.com/api/oauth/github/callback
- GOOGLE_REDIRECT_URI=https://openpanel.domain.com/api/oauth/google/callback
image: clickhouse/clickhouse-server:25.6.5.41-alpine
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8123
- ${PANEL_APP_PORT_NATIVE_TCP}:9000
- ${PANEL_APP_PORT_INTER_SERVER}:9009
restart: always
ulimits:
nofile:
hard: 262144
soft: 262144
volumes:
- ${CLICKHOUSE_SERVER_ROOT_PATH}/data:/var/lib/clickhouse
- ${CLICKHOUSE_SERVER_ROOT_PATH}/logs:/var/log/clickhouse-server
- ${CLICKHOUSE_SERVER_ROOT_PATH}/config/op-config.xml:/etc/clickhouse-server/config.d/op-config.xml
- ${CLICKHOUSE_SERVER_ROOT_PATH}/config/op-user-config.xml:/etc/clickhouse-server/users.d/op-user-config.xml
- ${CLICKHOUSE_SERVER_ROOT_PATH}/config/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh

View File

@@ -1,50 +0,0 @@
# Openpanel
Openpanel 是一个开源网络和产品分析平台,它结合了 Mixpanel 的强大功能和 Plausible 的易用性,是最好的 Google Analytics
替代品之一。
![Openpanel](https://file.lifebus.top/imgs/openpanel_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 特性
### 网络分析
+ 实时数据 :实时查看访客活动
+ 流量来源 :了解访客来自哪里
+ 地理洞察 :追踪访客位置和趋势
+ 设备分析 :监控不同设备的使用情况
+ 页面性能 :分析访问量最大的页面
### 产品分析
+ 事件跟踪 :监控用户操作和交互
+ 用户资料 :建立详细的用户旅程洞察
+ 漏斗 :分析转化路径
+ 留存率 :跟踪用户参与度
+ 自定义属性 :为事件添加上下文
## 快速开始 SDK
### 脚本标签
```html
<script>
window.op = window.op || function (...args) {
(window.op.q = window.op.q || []).push(args);
};
window.op('init', {
clientId: 'YOUR_CLIENT_ID',
trackScreenViews: true,
trackOutgoingLinks: true,
trackAttributes: true,
});
</script>
<script src="https://<Domain>/op1.js" defer async></script>
```
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)

View File

@@ -1,14 +0,0 @@
additionalProperties:
key: openpanel
name: Openpanel
tags:
- WebSite
- Local
shortDescZh: 开源网络和产品分析平台
shortDescEn: An open source network and product analysis platform
type: website
crossVersionUpdate: true
limit: 0
website: https://openpanel.dev/
github: https://github.com/Openpanel-dev/openpanel/
document: https://openpanel.dev/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -57,7 +57,7 @@ services:
- -f
- http://localhost:1200/healthz?key=${ACCESS_KEY}
timeout: 10s
image: diygod/rsshub:2025-07-27
image: diygod/rsshub:2025-07-28
labels:
createdBy: Apps
networks:

View File

@@ -10,11 +10,6 @@ if [ -f .env ]; then
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
if [ ! -d $CLICKHOUSE_SERVER_ROOT_PATH/config ]; then
mkdir -p $CLICKHOUSE_SERVER_ROOT_PATH/config
fi
cp -rn ./config/* $CLICKHOUSE_SERVER_ROOT_PATH/config/
echo "Check Finish."
else

View File

@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -19,7 +19,7 @@ services:
- AUTH_SITE=iyuu,hhclub,audiences,hddolby,zmpt,freefarm,hdfans,wintersakura,leaves,ptba,icc2022,xingtan,ptvicomo,agsvpt,hdkyl,qingwa,discfan,haidan,rousi,sunny,ptcafe,ptzone,kufei,yemapt
- HTTP_PROXY=${PROXY_HOST}
- HTTPS_PROXY=${PROXY_HOST}
image: jxxghp/moviepilot-v2:2.6.7
image: jxxghp/moviepilot-v2:2.6.8
labels:
createdBy: Apps
logging:

12
dockge/mx-space-db/.env Normal file
View File

@@ -0,0 +1,12 @@
# 数据持久化路径 [必填]
MX_SERVER_ROOT_PATH=/home/mx-space
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=2333
# JWT 密钥 [必填]
JWT_SECRET=
# 允许的访问来源 [必填]
ALLOWED_ORIGINS=,localhost

View File

@@ -0,0 +1,46 @@
networks:
1panel-network:
external: true
services:
mx-mongo:
container_name: mongo-mx-space-db
image: mongo
networks:
- 1panel-network
restart: always
volumes:
- ${MX_SERVER_ROOT_PATH}/db:/data/db
mx-redis:
container_name: redis-mx-space-db
image: redis:alpine
networks:
- 1panel-network
restart: always
volumes:
- ${MX_SERVER_ROOT_PATH}/redis:/data
mx-server:
container_name: mx-space-db
depends_on:
- mx-mongo
- mx-redis
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- PORT=2333
- DEMO=false
- NODE_ENV=production
- ENCRYPT_ENABLE=false
- DB_HOST=mx-mongo
- REDIS_HOST=mx-redis
image: innei/mx-server:8.4.0
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:2333
restart: always
volumes:
- ${MX_SERVER_ROOT_PATH}/data:/root/.mx-space

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@@ -0,0 +1,18 @@
# 数据持久化路径 [必填]
MX_SERVER_SHIRO_ROOT_PATH=/home/mx-space-shiro
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=2323
# API 地址 [必填]
NEXT_PUBLIC_API_URL=http://127.0.0.1:2333/api/v2
# 网关地址 [必填]
NEXT_PUBLIC_GATEWAY_URL=http://127.0.0.1:2333/
# TMDB API KEY
TMDB_API_KEY=
# Github Token
GH_TOKEN=

View File

@@ -0,0 +1,22 @@
networks:
1panel-network:
external: true
services:
mx-server-shiro:
container_name: mx-space-theme-shiro
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- NEXT_SHARP_PATH=/usr/local/lib/node_modules/sharp
image: innei/shiro:1.2.3
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:2323
restart: always
volumes:
- ${MX_SERVER_SHIRO_ROOT_PATH}/public:/app/public

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@@ -1,51 +0,0 @@
# Postgres 服务 (前置检查)
PANEL_POSTGRES_TYPE=postgresql
# Redis 服务 (前置检查) [必填]
PANEL_REDIS_TYPE=redis
# 数据持久化路径 [必填]
CLICKHOUSE_SERVER_ROOT_PATH=/home/clickhouse-server
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=8123
# Native/TCP 通讯端口 [必填]
PANEL_APP_PORT_NATIVE_TCP=9000
# 服务器通信端口 [必填]
PANEL_APP_PORT_INTER_SERVER=9009
# ClickHouse 访问地址 [必填]
CLICKHOUSE_URL=http://127.0.0.1:8123/openpanel
# Redis 地址 [必填]
REDIS_URL=redis://127.0.0.1:6379
# Redis 地址 [必填]
DATABASE_URL=postgresql://postgres_user:postgres_pass@127.0.0.1:5432/postgres_db_name?schema=public
# 开放注册 [必填]
ALLOW_REGISTRATION=false
# 开放邀请 [必填]
ALLOW_INVITATION=false
# 邮件发送 (Resend) API KEY
RESEND_API_KEY=
# 邮件发送者地址
EMAIL_SENDER=
# Github 客户端 ID (OAuth2)
GITHUB_CLIENT_ID=
# Github 客户端密钥 (OAuth2)
GITHUB_CLIENT_SECRET=
# Google 客户端 ID (OAuth2)
GOOGLE_CLIENT_ID=
# Google 客户端密钥 (OAuth2)
GOOGLE_CLIENT_SECRET=

View File

@@ -1,29 +0,0 @@
<clickhouse>
<logger>
<level>warning</level>
<console>true</console>
</logger>
<keep_alive_timeout>10</keep_alive_timeout>
<!-- Stop all the unnecessary logging -->
<query_thread_log remove="remove"/>
<query_log remove="remove"/>
<text_log remove="remove"/>
<trace_log remove="remove"/>
<metric_log remove="remove"/>
<asynchronous_metric_log remove="remove"/>
<session_log remove="remove"/>
<part_log remove="remove"/>
<listen_host>0.0.0.0</listen_host>
<interserver_listen_host>0.0.0.0</interserver_listen_host>
<interserver_http_host>op-ch</interserver_http_host>
<!-- Not used anymore, but kept for backwards compatibility -->
<macros>
<shard>1</shard>
<replica>replica1</replica>
<cluster>openpanel_cluster</cluster>
</macros>
</clickhouse>

View File

@@ -1,8 +0,0 @@
<clickhouse>
<profiles>
<default>
<log_queries>0</log_queries>
<log_query_threads>0</log_query_threads>
</default>
</profiles>
</clickhouse>

View File

@@ -1,6 +0,0 @@
#!/bin/bash
set -e
clickhouse client -n <<-EOSQL
CREATE DATABASE IF NOT EXISTS openpanel;
EOSQL

View File

@@ -1,41 +0,0 @@
networks:
1panel-network:
external: true
services:
clickhouse-server:
container_name: openpanel
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- DATABASE_URL_DIRECT=${DATABASE_URL}
- BATCH_SIZE=5000
- BATCH_INTERVAL=10000
- CONCURRENCY=10
- WORKER_PORT=9999
- API_PORT=3333
- NEXT_PUBLIC_API_URL="http://localhost:3333"
- NEXT_PUBLIC_DASHBOARD_URL="http://localhost:3000"
- GITHUB_REDIRECT_URI=https://openpanel.domain.com/api/oauth/github/callback
- GOOGLE_REDIRECT_URI=https://openpanel.domain.com/api/oauth/google/callback
image: clickhouse/clickhouse-server:25.6.5.41-alpine
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8123
- ${PANEL_APP_PORT_NATIVE_TCP}:9000
- ${PANEL_APP_PORT_INTER_SERVER}:9009
restart: always
ulimits:
nofile:
hard: 262144
soft: 262144
volumes:
- ${CLICKHOUSE_SERVER_ROOT_PATH}/data:/var/lib/clickhouse
- ${CLICKHOUSE_SERVER_ROOT_PATH}/logs:/var/log/clickhouse-server
- ${CLICKHOUSE_SERVER_ROOT_PATH}/config/op-config.xml:/etc/clickhouse-server/config.d/op-config.xml
- ${CLICKHOUSE_SERVER_ROOT_PATH}/config/op-user-config.xml:/etc/clickhouse-server/users.d/op-user-config.xml
- ${CLICKHOUSE_SERVER_ROOT_PATH}/config/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh

View File

@@ -57,7 +57,7 @@ services:
- -f
- http://localhost:1200/healthz?key=${ACCESS_KEY}
timeout: 10s
image: diygod/rsshub:2025-07-27
image: diygod/rsshub:2025-07-28
labels:
createdBy: Apps
networks: