feat:添加syncclipboard-server到列表
This commit is contained in:
3
apps/syncclipboard-server/latest/.env.sample
Normal file
3
apps/syncclipboard-server/latest/.env.sample
Normal file
@@ -0,0 +1,3 @@
|
||||
CONTAINER_NAME="syncclipboard-server"
|
||||
PANEL_APP_PORT_HTTP="40229"
|
||||
CONFIG_FILE_PATH="./data/appsettings.json"
|
||||
17
apps/syncclipboard-server/latest/data.yml
Normal file
17
apps/syncclipboard-server/latest/data.yml
Normal 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
|
||||
20
apps/syncclipboard-server/latest/data/appsettings.json
Normal file
20
apps/syncclipboard-server/latest/data/appsettings.json
Normal 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"
|
||||
}
|
||||
}
|
||||
18
apps/syncclipboard-server/latest/docker-compose.yml
Normal file
18
apps/syncclipboard-server/latest/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user