containered launch empty web status

This commit is contained in:
Ivan I. Ovchinnikov
2026-11-16 17:37:16 +03:00
parent 84ca3d07f8
commit 5c3a1473e3
30 changed files with 4611 additions and 55 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
export MM_BRIDGE_LISTEN="${MM_BRIDGE_LISTEN:-0.0.0.0:8765}"
export MM_WEB_LISTEN="${MM_WEB_LISTEN:-0.0.0.0:8766}"
export MM_DATA_DIR="${MM_DATA_DIR:-/data}"
mkdir -p "${MM_DATA_DIR}"
if [[ "$#" -eq 0 ]]; then
exec mm-bridge
fi
if [[ "$1" == "mm-bridge" ]]; then
shift
exec mm-bridge "$@"
fi
exec "$@"