diff --git a/apps/mediamtx/1.21.4/.env.sample b/apps/mediamtx/1.21.4/.env.sample new file mode 100644 index 000000000..ff6e82005 --- /dev/null +++ b/apps/mediamtx/1.21.4/.env.sample @@ -0,0 +1,2 @@ +CONTAINER_NAME=mediamtx-compose-check +PANEL_APP_PORT_RTSP=8554 diff --git a/apps/mediamtx/1.21.4/data.yml b/apps/mediamtx/1.21.4/data.yml new file mode 100644 index 000000000..3c645f063 --- /dev/null +++ b/apps/mediamtx/1.21.4/data.yml @@ -0,0 +1,19 @@ +additionalProperties: + formFields: + - default: 8554 + edit: true + envKey: PANEL_APP_PORT_RTSP + labelEn: RTSP port + labelZh: RTSP 端口 + label: + en: RTSP port + zh: RTSP 端口 + zh-Hant: RTSP 連接埠 + ja: RTSP ポート + ko: RTSP 포트 + ru: Порт RTSP + ms: Port RTSP + pt-br: Porta RTSP + required: true + rule: paramPort + type: number diff --git a/apps/mediamtx/1.21.4/docker-compose.yml b/apps/mediamtx/1.21.4/docker-compose.yml new file mode 100644 index 000000000..a6be7728c --- /dev/null +++ b/apps/mediamtx/1.21.4/docker-compose.yml @@ -0,0 +1,22 @@ +services: + mediamtx: + image: "bluenviron/mediamtx:1.21.4" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_RTSP}:8554/tcp" + environment: + - MTX_RTSPTRANSPORTS=tcp + - MTX_RTMP=false + - MTX_HLS=false + - MTX_WEBRTC=false + - MTX_SRT=false + - MTX_MOQ=false + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/mediamtx/1.21.4/scripts/init.sh b/apps/mediamtx/1.21.4/scripts/init.sh new file mode 100755 index 000000000..6e877466e --- /dev/null +++ b/apps/mediamtx/1.21.4/scripts/init.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +set -euo pipefail diff --git a/apps/mediamtx/1.21.4/scripts/uninstall.sh b/apps/mediamtx/1.21.4/scripts/uninstall.sh new file mode 100755 index 000000000..6e877466e --- /dev/null +++ b/apps/mediamtx/1.21.4/scripts/uninstall.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +set -euo pipefail diff --git a/apps/mediamtx/1.21.4/scripts/upgrade.sh b/apps/mediamtx/1.21.4/scripts/upgrade.sh new file mode 100755 index 000000000..6e877466e --- /dev/null +++ b/apps/mediamtx/1.21.4/scripts/upgrade.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +set -euo pipefail