1
0

feat:添加rembg到列表#1566

This commit is contained in:
okxlin
2024-09-23 01:07:09 +08:00
parent 339c528757
commit 8b017d7a37
12 changed files with 135 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
COMMAND="s"
CONTAINER_NAME="rembg"
PANEL_APP_PORT_HTTP=40295

View File

@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: "40295"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "s"
edit: true
envKey: COMMAND
labelEn: Startup command
labelZh: 启动命令
required: true
type: text

View File

@@ -0,0 +1,16 @@
services:
rembg:
image: "danielgatis/rembg:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:7000"
command: "${COMMAND}"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true