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.
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
services:
|
|
movie-pilot:
|
|
container_name: movie-pilot
|
|
env_file:
|
|
- ./envs/global.env
|
|
- .env
|
|
environment:
|
|
- NGINX_PORT=${PANEL_APP_PORT_HTTP}
|
|
- PORT=${PANEL_APP_PORT_API}
|
|
- DEBUG=false
|
|
- DEV=false
|
|
- LOG_LEVEL=INFO
|
|
image: jxxghp/moviepilot:2.8.0
|
|
labels:
|
|
createdBy: Apps
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: 5m
|
|
network_mode: ${NETWORK_MODE}
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
|
- ${PANEL_APP_PORT_API}:${PANEL_APP_PORT_API}
|
|
restart: always
|
|
stdin_open: true
|
|
tty: true
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ${MOVIEPILOT_ROOT_PATH}/config:/config
|
|
- ${MOVIEPILOT_ROOT_PATH}/moviepilot:/moviepilot
|
|
- ${MOVIEPILOT_ROOT_PATH}/download:/download
|
|
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
|
|
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
|
|
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
|