Files
appstore/apps/voicebox/latest-cuda/docker-compose.yml
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

36 lines
893 B
YAML

services:
voicebox:
image: "ghcr.io/jamiepine/voicebox:latest-cuda"
container_name: ${CONTAINER_NAME}
ports:
- "${PANEL_APP_PORT_HTTP}:8000"
environment:
- LOG_LEVEL=${LOG_LEVEL}
- NUMBA_CACHE_DIR=/tmp/numba_cache
- VOICEBOX_MODELS_DIR=/app/models
- VOICEBOX_CORS_ORIGINS=${VOICEBOX_CORS_ORIGINS}
- NVIDIA_VISIBLE_DEVICES=all
volumes:
- "${APP_DATA_DIR}:/app/data"
- "${APP_MODELS_DIR}:/app/models"
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
healthcheck:
test:
- CMD
- python
- -c
- import urllib.request; urllib.request.urlopen("http://127.0.0.1:8000/health", timeout=10)
labels:
createdBy: Apps
networks:
- 1panel-network
restart: unless-stopped
networks:
1panel-network:
external: true