1
0

feat:添加syncclipboard-server到列表

This commit is contained in:
okxlin
2024-04-29 21:44:41 +08:00
parent 707d87baba
commit 1954c199d3
11 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="syncclipboard-server"
PANEL_APP_PORT_HTTP="40229"
CONFIG_FILE_PATH="./data/appsettings.json"

View File

@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40229
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data/appsettings.json
disabled: true
envKey: CONFIG_FILE_PATH
labelEn: Configuration file path
labelZh: 配置文件路径
required: true
type: text

View File

@@ -0,0 +1,20 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://0.0.0.0:5033"
}
}
},
"AppSettings": {
"UserName": "admin",
"Password": "admin"
}
}

View File

@@ -0,0 +1,18 @@
version: '3'
services:
syncclipboard-server:
image: jericx/syncclipboard-server:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:5033"
volumes:
- ${CONFIG_FILE_PATH}:/app/appsettings.json
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true