Files
appstore-1panel/apps/synapse/1.140.0/docker-compose.yml
engine-labs-app[bot] ba8121f56f 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.
2025-10-27 03:11:36 +00:00

41 lines
985 B
YAML

networks:
1panel-network:
external: true
services:
synapse-init:
image: matrixdotorg/synapse:v1.140.0
container_name: init-${CONTAINER_NAME}
entrypoint:
- /start.py
- generate
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${SYNAPSE_ROOT_PATH}/data:/data
networks:
- 1panel-network
restart: "no"
environment:
- SYNAPSE_REPORT_STATS=no
- SYNAPSE_NO_TLS=true
- SYNAPSE_HTTP_PORT=8008
synapse:
image: matrixdotorg/synapse:v1.140.0
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8008
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${SYNAPSE_ROOT_PATH}/data:/data
depends_on:
- synapse-init