From 3c97999ea3db71b85b81fda6417334484c96f027 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Sat, 16 May 2026 08:27:25 -0400 Subject: [PATCH] =?UTF-8?q?chore:=20use=20env-var=20port=20bindings=20?= =?UTF-8?q?=E2=80=94=20no=20hardcoded=20host=20ports?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All host ports are now configurable via .env variables with sensible defaults. This prevents collisions when deploying alongside existing services on TrueNAS or any other host. --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b7e2731..7b860c3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ services: queue: condition: service_started ports: - - "7432:3000" + - "${PORT_MAM_API:-7432}:3000" volumes: - /var/run/docker.sock:/var/run/docker.sock environment: @@ -53,9 +53,9 @@ services: depends_on: - mam-api ports: - - "7433:3001" - - "1935:1935" # RTMP ingest (listener mode) - - "9000:9000/udp" # SRT ingest (listener mode) + - "${PORT_CAPTURE:-7433}:3001" + - "${PORT_RTMP:-1935}:1935" # RTMP ingest (listener mode) + - "${PORT_SRT:-9000}:9000/udp" # SRT ingest (listener mode) privileged: true environment: S3_ENDPOINT: ${S3_ENDPOINT} @@ -86,7 +86,7 @@ services: web-ui: build: ./services/web-ui ports: - - "7434:80" + - "${PORT_WEB_UI:-7434}:80" networks: - wild-dragon