feat:添加metatube-sdk-go到列表

This commit is contained in:
okxlin 2024-10-13 17:10:13 +08:00
parent a62a08d444
commit 9eff755a9b
9 changed files with 226 additions and 0 deletions

View File

@ -0,0 +1,12 @@
CONTAINER_NAME="metatube-sdk-go"
DATA_PATH="./data"
HTTPS_PROXY=""
HTTP_PROXY=""
PANEL_APP_PORT_HTTP=40302
PANEL_DB_HOST="postgresql"
PANEL_DB_HOST_NAME="postgresql"
PANEL_DB_NAME="metatube"
PANEL_DB_PORT=5432
PANEL_DB_TYPE="postgresql"
PANEL_DB_USER="metatube"
PANEL_DB_USER_PASSWORD="metatube"

View File

@ -0,0 +1,69 @@
additionalProperties:
formFields:
- default: "40302"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: postgresql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: PostgreSQL
value: postgresql
- default: "metatube"
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: "metatube"
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: "metatube"
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: ""
edit: true
envKey: HTTP_PROXY
labelEn: HTTP Proxy
labelZh: HTTP 代理
required: false
type: text
- default: ""
edit: true
envKey: HTTPS_PROXY
labelEn: HTTPS Proxy
labelZh: HTTPS 代理
required: false
type: text

View File

@ -0,0 +1,21 @@
services:
metatube-sdk-go:
image: "metatube/metatube-server:1.2.7"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
environment:
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTPS_PROXY}
volumes:
- ${DATA_PATH}:/var/run
command: -dsn "postgres://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}" -port ${PANEL_APP_PORT_HTTP} -db-auto-migrate -db-prepared-stmt
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,3 @@
# MetaTube SDK Go
Golang 编写的的媒体元数据管理 SDK

View File

@ -0,0 +1,19 @@
name: MetaTube SDK Go
tags:
- 多媒体
title: MetaTube 服务的后端
description: MetaTube 服务的后端
additionalProperties:
key: metatube-sdk-go
name: MetaTube SDK Go
tags:
- Media
shortDescZh: MetaTube 服务的后端
shortDescEn: Backend of the MetaTube service
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://metatube-community.github.io
github: https://github.com/metatube-community/metatube-sdk-go
document: https://metatube-community.github.io

View File

@ -0,0 +1,12 @@
CONTAINER_NAME="metatube-sdk-go"
DATA_PATH="./data"
HTTPS_PROXY=""
HTTP_PROXY=""
PANEL_APP_PORT_HTTP=40302
PANEL_DB_HOST="postgresql"
PANEL_DB_HOST_NAME="postgresql"
PANEL_DB_NAME="metatube"
PANEL_DB_PORT=5432
PANEL_DB_TYPE="postgresql"
PANEL_DB_USER="metatube"
PANEL_DB_USER_PASSWORD="metatube"

View File

@ -0,0 +1,69 @@
additionalProperties:
formFields:
- default: "40302"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: postgresql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: PostgreSQL
value: postgresql
- default: "metatube"
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: "metatube"
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: "metatube"
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: ""
edit: true
envKey: HTTP_PROXY
labelEn: HTTP Proxy
labelZh: HTTP 代理
required: false
type: text
- default: ""
edit: true
envKey: HTTPS_PROXY
labelEn: HTTPS Proxy
labelZh: HTTPS 代理
required: false
type: text

View File

@ -0,0 +1,21 @@
services:
metatube-sdk-go:
image: "metatube/metatube-server:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
environment:
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTPS_PROXY}
volumes:
- ${DATA_PATH}:/var/run
command: -dsn "postgres://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}" -port ${PANEL_APP_PORT_HTTP} -db-auto-migrate -db-prepared-stmt
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB