1
0

feat:添加cookiecloud到列表

This commit is contained in:
okxlin
2024-05-14 00:51:59 +08:00
parent 42a99493e6
commit d03958b215
9 changed files with 130 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
CONTAINER_NAME="cookiecloud"
PANEL_APP_PORT_HTTP="40243"
DATA_PATH="./data"
API_ROOT=""

View File

@@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: 40243
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
- default: ""
edit: true
envKey: API_ROOT
labelEn: API Directory
labelZh: API 目录
required: false
type: text

View File

@@ -0,0 +1,20 @@
version: '3'
services:
cookiecloud:
image: easychen/cookiecloud:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8088"
volumes:
- "${DATA_PATH}:/data/api/data"
environment:
- API_ROOT=${API_ROOT}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true