fix: update Docker Compose files to use specific image versions for consistency

This commit is contained in:
remsky 2025-01-12 23:30:01 -07:00
parent 396261ccdb
commit 2c315042d8
2 changed files with 11 additions and 9 deletions

View file

@ -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:

View file

@ -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