2 files changed
+9
-2
No files matched your search
+2
-1
@@ -9,10 +9,11 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
|
||||||
ENV CUDA_DOCKER_ARCH=all
|
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 && \
|
RUN pip install --no-cache-dir --no-deps -r system/requirements/requirements_docker.txt && \
|
||||||
pip install --no-cache-dir deepspeed
|
pip install --no-cache-dir deepspeed
|
||||||
|
COPY . .
|
||||||
|
|
||||||
EXPOSE 7851 7852
|
EXPOSE 7851 7852
|
||||||
RUN chmod +x launch.sh
|
RUN chmod +x launch.sh
|
||||||
|
|||||||
+7
-1
@@ -1,7 +1,7 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
alltalk-tts:
|
alltalk-tts:
|
||||||
image: alltalk:v1-9c
|
image: ${IMAGE:-alltalk:v1-9c}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "7851:7851"
|
- "7851:7851"
|
||||||
@@ -12,6 +12,12 @@ services:
|
|||||||
- ./voices:/app/voices/
|
- ./voices:/app/voices/
|
||||||
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
|
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
|
||||||
- ./dockerconfig.json:/app/confignew.json
|
- ./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:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
|
|||||||
Reference in new issue
Block a user