feat:添加picimpact到列表

This commit is contained in:
okxlin 2024-05-22 00:26:14 +08:00
parent 45a4799e1a
commit ea1f5f1e30
9 changed files with 212 additions and 0 deletions

View File

@ -0,0 +1,10 @@
AUTH_SECRET="secret_G22QSN"
CONTAINER_NAME="picimpact"
PANEL_APP_PORT_HTTP="40251"
PANEL_DB_HOST="postgresql"
PANEL_DB_HOST_NAME="postgresql"
PANEL_DB_NAME="picimpact_3bti2a"
PANEL_DB_PORT="5432"
PANEL_DB_TYPE="postgresql"
PANEL_DB_USER="picimpact_hpxbcQ"
PANEL_DB_USER_PASSWORD="picimpact_HJB336"

View File

@ -0,0 +1,57 @@
additionalProperties:
formFields:
- default: 40251
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "secret"
edit: true
envKey: AUTH_SECRET
labelEn: Auth Secret
labelZh: 认证密钥
random: true
required: true
rule: paramComplexity
type: password
- default: postgresql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
values:
- label: PostgreSQL
value: postgresql
- default: picimpact
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: picimpact
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: picimpact
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password

View File

@ -0,0 +1,19 @@
version: '3'
services:
picimpact:
image: besscroft/picimpact:v0.7.1
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:3000"
environment:
- DATABASE_URL=postgres://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
- AUTH_SECRET=${AUTH_SECRET}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

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

@ -0,0 +1,21 @@
<h1 align="center">
<img width="28" src="https://github.com/besscroft/PicImpact/raw/main/public/maskable-icon.png">
PicImpact
</h1>
<p align="center">
<a href="https://github.com/besscroft/PicImpact/blob/main/LICENSE"><img src="https://img.shields.io/github/license/besscroft/PicImpact?style=flat-square" alt="许可证"></a>
<img src="https://img.shields.io/github/repo-size/besscroft/PicImpact?style=flat-square&color=328657" alt="存储库大小">
</p>
<p align="center">
<img src=https://github.com/besscroft/PicImpact/raw/main/picimpact.png width=384 />
</p>
# 使用说明
默认账号:`admin@qq.com`,默认密码:`666666`**登录后请先去设置里面修改密码!**
# 存储配置
暂时提供了 AWS S3 API、Cloudflare R2、AList API 支持,您在部署成功后,可以去 `设置` -> `存储` 进行管理。

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

@ -0,0 +1,19 @@
name: PicImpact
tags:
- 多媒体
title: 摄影佬专用相片集
description: 摄影佬专用相片集
additionalProperties:
key: picimpact
name: PicImpact
tags:
- Media
shortDescZh: 摄影佬专用相片集
shortDescEn: Photo Album for Photographers
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://pic.besscroft.com
github: https://github.com/besscroft/PicImpact
document: https://github.com/besscroft/PicImpact

View File

@ -0,0 +1,10 @@
AUTH_SECRET="secret_G22QSN"
CONTAINER_NAME="picimpact"
PANEL_APP_PORT_HTTP="40251"
PANEL_DB_HOST="postgresql"
PANEL_DB_HOST_NAME="postgresql"
PANEL_DB_NAME="picimpact_3bti2a"
PANEL_DB_PORT="5432"
PANEL_DB_TYPE="postgresql"
PANEL_DB_USER="picimpact_hpxbcQ"
PANEL_DB_USER_PASSWORD="picimpact_HJB336"

View File

@ -0,0 +1,57 @@
additionalProperties:
formFields:
- default: 40251
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "secret"
edit: true
envKey: AUTH_SECRET
labelEn: Auth Secret
labelZh: 认证密钥
random: true
required: true
rule: paramComplexity
type: password
- default: postgresql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
values:
- label: PostgreSQL
value: postgresql
- default: picimpact
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: picimpact
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: picimpact
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password

View File

@ -0,0 +1,19 @@
version: '3'
services:
picimpact:
image: besscroft/picimpact:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:3000"
environment:
- DATABASE_URL=postgres://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
- AUTH_SECRET=${AUTH_SECRET}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/picimpact/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB