Add configurable data location

This commit is contained in:
Alexandre
2026-01-28 19:41:00 +01:00
parent 28d57a80e4
commit dca06b9a9d
11 changed files with 122 additions and 38 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -euo pipefail
export PYTHONPATH=/app
bashio::net.wait_for 5001 127.0.0.1 300
cd /app
exec python3 -m core.api

View File

@@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -euo pipefail
export PULSE_SERVER=unix:/run/pulse/native
exec /usr/local/bin/start-icecast.sh

View File

@@ -0,0 +1,8 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -euo pipefail
export PYTHONPATH=/app
export PULSE_SERVER=unix:/run/pulse/native
bashio::net.wait_for 5002 127.0.0.1 300
cd /app
exec python3 -m core.main

View File

@@ -0,0 +1,6 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -euo pipefail
export PYTHONPATH=/app
cd /app
exec python3 -m model_service.inference_server

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -euo pipefail
exec nginx -g "daemon off;"