1
0

Update ghcr.io/metatube-community/metatube-server Docker tag to v1.3.2 (#1134)

This commit is contained in:
renovate[bot]
2025-08-11 05:13:26 +08:00
committed by GitHub
parent 4536335c2b
commit e37288ac54
10 changed files with 2 additions and 2 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: "ghcr.io/metatube-community/metatube-server:1.3.2"
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