mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
fix(app-metadata,compose): fix schema, deterministic generation and Docker Compose errors
This change addresses critical issues in app metadata schema, ensures deterministic process-apps.py outputs, and corrects Docker Compose config errors for select apps. - Ensures all apps' data.yml root and formFields schema required fields are present - Fixes illegal Docker Compose fields (e.g. restart: no → "no", removes obsolete version fields) - Removes illegal " = " in environment variable declarations - Adds missing ports to env templates (e.g. zerotier) - Resolves all validation, duplicate, tag, and basic resource consistency errors - process-apps.py output is now idempotent and repeatable Apps deploy and test through compose config without validation errors.
This commit is contained in:
@@ -16,7 +16,7 @@ services:
|
||||
- ${SYNAPSE_ROOT_PATH}/data:/data
|
||||
networks:
|
||||
- 1panel-network
|
||||
restart: no
|
||||
restart: "no"
|
||||
environment:
|
||||
- SYNAPSE_REPORT_STATS=no
|
||||
- SYNAPSE_NO_TLS=true
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: "3.8"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -19,7 +17,7 @@ services:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- DISABLE_TELEMETRY = 1
|
||||
- REMOVE_TRAILING_SLASH = 1
|
||||
- DISABLE_TELEMETRY=1
|
||||
- REMOVE_TRAILING_SLASH=1
|
||||
- DATABASE_TYPE=mysql
|
||||
- DATABASE_URL=mysql://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOSTNAME}:${DB_PORT}/${DB_DATABASE_NAME}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: "3.8"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -19,7 +17,7 @@ services:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- DISABLE_TELEMETRY = 1
|
||||
- REMOVE_TRAILING_SLASH = 1
|
||||
- DISABLE_TELEMETRY=1
|
||||
- REMOVE_TRAILING_SLASH=1
|
||||
- DATABASE_TYPE=mysql
|
||||
- DATABASE_URL=mysql://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOSTNAME}:${DB_PORT}/${DB_DATABASE_NAME}
|
||||
|
||||
@@ -17,7 +17,7 @@ services:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- DISABLE_TELEMETRY = 1
|
||||
- REMOVE_TRAILING_SLASH = 1
|
||||
- DISABLE_TELEMETRY=1
|
||||
- REMOVE_TRAILING_SLASH=1
|
||||
- DATABASE_TYPE=postgresql
|
||||
- DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOSTNAME}:${DB_PORT}/${DB_DATABASE_NAME}
|
||||
|
||||
@@ -17,7 +17,7 @@ services:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- DISABLE_TELEMETRY = 1
|
||||
- REMOVE_TRAILING_SLASH = 1
|
||||
- DISABLE_TELEMETRY=1
|
||||
- REMOVE_TRAILING_SLASH=1
|
||||
- DATABASE_TYPE=postgresql
|
||||
- DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOSTNAME}:${DB_PORT}/${DB_DATABASE_NAME}
|
||||
|
||||
@@ -23,6 +23,14 @@ additionalProperties:
|
||||
value: "none"
|
||||
- label: 1panel-network
|
||||
value: "1panel-network"
|
||||
- default: 9993
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_ZT
|
||||
labelZh: Zerotier 端口
|
||||
labelEn: Zerotier port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 3443
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
|
||||
Reference in New Issue
Block a user