Files
appstore/apps/voicebox/latest-cuda/scripts/init.sh
T
okxlin a7293f7130 Require explicit SimpleX address and add Voicebox CUDA variant
Remove the localhost default from simplex-smp-server so 1Panel users must enter a real public domain or IP during installation, and align the README and env samples with that requirement.

Add the official ghcr.io/jamiepine/voicebox:latest-cuda package as a latest-cuda version directory, keeping the same data/model persistence layout while adding the standard GPU reservation block used by existing appstore GPU variants.

Verification: strict validate-v2 for simplex latest/6.5.2 and voicebox latest/latest-cuda; fresh 1Panel v2 smoke for simplex latest and 6.5.2 with an explicit ADDR; CUDA runtime smoke intentionally skipped on this host because no GPU is available.
2026-07-04 01:59:00 +08:00

7 lines
151 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
DATA_DIR="${APP_DATA_DIR:-./data/app}"
MODELS_DIR="${APP_MODELS_DIR:-./data/models}"
mkdir -p "$DATA_DIR" "$MODELS_DIR"