Merge pull request #249 from dpkirchner/tune-docker

Tune docker
This commit is contained in:
erew123 authored and GitHub committed 2024-06-19 10:50:14 +01:00
commit 80eb4e5302
2 files changed
+9 -2

No files matched your search

+2 -1
View File
@@ -9,10 +9,11 @@ RUN apt-get update && apt-get upgrade -y \
&& ln -s /usr/bin/python3 /usr/bin/python
WORKDIR /app
COPY . .
ENV CUDA_DOCKER_ARCH=all
COPY system/requirements/requirements_docker.txt system/requirements/requirements_docker.txt
RUN pip install --no-cache-dir --no-deps -r system/requirements/requirements_docker.txt && \
pip install --no-cache-dir deepspeed
COPY . .
EXPOSE 7851 7852
RUN chmod +x launch.sh
+7 -1
View File
@@ -1,7 +1,7 @@
version: '3.8'
services:
alltalk-tts:
image: alltalk:v1-9c
image: ${IMAGE:-alltalk:v1-9c}
restart: unless-stopped
ports:
- "7851:7851"
@@ -12,6 +12,12 @@ services:
- ./voices:/app/voices/
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
- ./dockerconfig.json:/app/confignew.json
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:7851/api/ready"]
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
deploy:
resources:
reservations: