feat:添加cookiecloud到列表
This commit is contained in:
4
apps/cookiecloud/latest/.env.sample
Normal file
4
apps/cookiecloud/latest/.env.sample
Normal file
@@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME="cookiecloud"
|
||||
PANEL_APP_PORT_HTTP="40243"
|
||||
DATA_PATH="./data"
|
||||
API_ROOT=""
|
||||
24
apps/cookiecloud/latest/data.yml
Normal file
24
apps/cookiecloud/latest/data.yml
Normal 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
|
||||
20
apps/cookiecloud/latest/docker-compose.yml
Normal file
20
apps/cookiecloud/latest/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user