feat: update docker-compose to use pre-built images for backend and frontend

This commit is contained in:
2026-03-06 16:57:03 +08:00
parent c880fb8949
commit d928087e79
3 changed files with 66 additions and 28 deletions

View File

@@ -1,8 +1,6 @@
services:
backend:
build:
context: ..
dockerfile: docker/backend/Dockerfile
image: bdim404/qwen3-tts-backend:latest
environment:
SECRET_KEY: ${SECRET_KEY:?Set SECRET_KEY in docker/.env}
MODEL_DEVICE: ${MODEL_DEVICE:-cuda:0}
@@ -18,9 +16,7 @@ services:
restart: unless-stopped
frontend:
build:
context: ..
dockerfile: docker/frontend/Dockerfile
image: bdim404/qwen3-tts-frontend:latest
ports:
- "80:80"
depends_on: