From 2c315042d847da4f5e1b60a4afa78f1067ce6e26 Mon Sep 17 00:00:00 2001 From: remsky Date: Sun, 12 Jan 2025 23:30:01 -0700 Subject: [PATCH] fix: update Docker Compose files to use specific image versions for consistency --- docker-compose.cpu.yml | 11 ++++++----- docker-compose.yml | 9 +++++---- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/docker-compose.cpu.yml b/docker-compose.cpu.yml index cb7a3cf..32c8710 100644 --- a/docker-compose.cpu.yml +++ b/docker-compose.cpu.yml @@ -1,3 +1,4 @@ +name: kokoro-fastapi services: model-fetcher: image: datamachines/git-lfs:latest @@ -28,8 +29,8 @@ services: start_period: 1s kokoro-tts: - # image: ghcr.io/remsky/kokoro-fastapi-cpu:latest - # Uncomment below (and comment out above) to build from source instead of using the released image + image: ghcr.io/remsky/kokoro-fastapi-cpu:v0.0.5post1 + # Uncomment below (and comment out above) to build from source instead of using the released image build: context: . dockerfile: Dockerfile.cpu @@ -61,10 +62,10 @@ services: # Gradio UI service [Comment out everything below if you don't need it] gradio-ui: - # image: ghcr.io/remsky/kokoro-fastapi-ui:latest + image: ghcr.io/remsky/kokoro-fastapi-ui:v0.0.5post1 # Uncomment below (and comment out above) to build from source instead of using the released image - build: - context: ./ui + # build: + # context: ./ui ports: - "7860:7860" volumes: diff --git a/docker-compose.yml b/docker-compose.yml index ddca25f..9ffe144 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,4 @@ +name: kokoro-fastapi services: model-fetcher: image: datamachines/git-lfs:latest @@ -32,10 +33,10 @@ services: start_period: 1s kokoro-tts: - # image: ghcr.io/remsky/kokoro-fastapi-gpu:latest + image: ghcr.io/remsky/kokoro-fastapi-gpu:v0.0.5post1 # Uncomment below (and comment out above) to build from source instead of using the released image - build: - context: . + # build: + # context: . volumes: - ./api/src:/app/api/src - ./Kokoro-82M:/app/Kokoro-82M @@ -62,7 +63,7 @@ services: # Gradio UI service [Comment out everything below if you don't need it] gradio-ui: - image: ghcr.io/remsky/kokoro-fastapi-ui:latest + image: ghcr.io/remsky/kokoro-fastapi-ui:v0.0.5post1 # Uncomment below (and comment out above) to build from source instead of using the released image # build: # context: ./ui