Update port to 7890 and rename image/container/volume to -2
- docker-compose.yml: port 7890:7890, image/container/volume all renamed to tts-voice-creator-clone-and-design-2 - Dockerfile: EXPOSE 7890 - server.py: uvicorn binds to port 7890 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
631ca16290
commit
8f06971aaf
@ -2,7 +2,7 @@
|
||||
# TTS Voice Creator - Clone and Design — Docker image (ARM64 / aarch64 compatible)
|
||||
#
|
||||
# Web app (FastAPI + WaveSurfer.js) — no VNC, no Qt, no X11.
|
||||
# Accessible on port 7860 via any browser.
|
||||
# Accessible on port 7890 via any browser.
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
FROM python:3.11-slim-bookworm
|
||||
|
||||
@ -32,5 +32,5 @@ RUN mkdir -p /voices/active_voices /voices/hidden_voices /home/app/.config/tts-v
|
||||
|
||||
USER app
|
||||
|
||||
EXPOSE 7860
|
||||
EXPOSE 7890
|
||||
CMD ["python3", "server.py"]
|
||||
|
||||
@ -1,18 +1,18 @@
|
||||
services:
|
||||
tts-voice-creator-clone-and-design:
|
||||
tts-voice-creator-clone-and-design-2:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: tts-voice-creator-clone-and-design:latest
|
||||
container_name: tts-voice-creator-clone-and-design
|
||||
image: tts-voice-creator-clone-and-design-2:latest
|
||||
container_name: tts-voice-creator-clone-and-design-2
|
||||
restart: unless-stopped
|
||||
|
||||
ports:
|
||||
- "7860:7860"
|
||||
- "7890:7890"
|
||||
|
||||
volumes:
|
||||
- ${VOICE_HOST_DIR:-./voices}:/voices:rw
|
||||
- tts-voice-creator-clone-and-design:/home/app/.config/tts-voice-creator
|
||||
- tts-voice-creator-clone-and-design-2:/home/app/.config/tts-voice-creator
|
||||
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
@ -28,7 +28,7 @@ services:
|
||||
- tts_net
|
||||
|
||||
volumes:
|
||||
tts-voice-creator-clone-and-design:
|
||||
tts-voice-creator-clone-and-design-2:
|
||||
|
||||
networks:
|
||||
tts_net:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user