mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-27 08:27:12 +08:00
feat(glance-agent): 添加对官方agent的支持并更新文档
添加官方glance-agent的0.1.0和latest版本配置 保留原有custom版本配置 更新README说明版本差异和配置方法
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "27973"
|
||||
envKey: AGENT_PORT
|
||||
label:
|
||||
en: Agent-Port
|
||||
zh: Agent-端口
|
||||
required: true
|
||||
type: number
|
||||
edit: true
|
||||
rule: paramPort
|
||||
- default: your_auth_token_here
|
||||
envKey: AGENT_TOKEN
|
||||
label:
|
||||
en: Agent-Token
|
||||
zh: Agent-Token
|
||||
required: false
|
||||
type: text
|
||||
edit: true
|
||||
random: true
|
||||
values: []
|
||||
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
glance-agent:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
image: glanceapp/agent:v0.1.0
|
||||
environment:
|
||||
TOKEN: ${AGENT_TOKEN}
|
||||
volumes:
|
||||
- /storage:/storage:ro
|
||||
ports:
|
||||
- ${AGENT_PORT}:27973
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user