mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-26 00:01:06 +00:00
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.
36 lines
893 B
YAML
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
|