Skip to content

Commit 992a62b

Browse files
committed
feat: Set the MediaMTX API url and server address via ENV
1 parent 2b13e68 commit 992a62b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker-compose-local.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,8 @@ services:
640640
target: production
641641
environment:
642642
<<: [*rmmtx_dbconfig_env]
643+
RMMTX_API_URL: https://mtx.${SERVER_DOMAIN:-localmaeher.dev.pvarki.fi}:9997
644+
RMMTX_MTX_ADDRESS: mtx.${SERVER_DOMAIN:-localmaeher.dev.pvarki.fi}
643645
LOG_CONSOLE_FORMATTER: "local"
644646
RMMTX_LOG_LEVEL: "debug"
645647
UVICORN_LOG_LEVEL: "debug"

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,8 @@ services:
571571
target: production
572572
environment:
573573
<<: [*rmmtx_dbconfig_env]
574+
RMMTX_API_URL: https://mtx.${SERVER_DOMAIN:-localmaeher.dev.pvarki.fi}:9997
575+
RMMTX_MTX_ADDRESS: mtx.${SERVER_DOMAIN:-localmaeher.dev.pvarki.fi}
574576
networks:
575577
- productnet
576578
- intranet

0 commit comments

Comments
 (0)