1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2024-02-20 10:54:24 +00:00
parent a06cb1f13a
commit aac7faa559
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="slash"
PANEL_APP_PORT_HTTP="40114"
DATA_PATH="./data"

17
apps/slash/1.0.0/data.yml Normal file
View File

@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40114
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text

View File

@@ -0,0 +1,18 @@
version: '3'
services:
slash:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:5231"
volumes:
- "${DATA_PATH}:/var/opt/slash"
image: yourselfhosted/slash:1.0.0
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true