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.
24 lines
635 B
YAML
24 lines
635 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
|
|
services:
|
|
umami:
|
|
image: umamisoftware/umami:postgresql-v2.16.0
|
|
container_name: ${CONTAINER_NAME}
|
|
labels:
|
|
createdBy: "Apps"
|
|
restart: always
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:3000
|
|
env_file:
|
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
environment:
|
|
- DISABLE_TELEMETRY=1
|
|
- REMOVE_TRAILING_SLASH=1
|
|
- DATABASE_TYPE=postgresql
|
|
- DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOSTNAME}:${DB_PORT}/${DB_DATABASE_NAME}
|