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: services:
model-fetcher: model-fetcher:
image: datamachines/git-lfs:latest image: datamachines/git-lfs:latest
@ -28,8 +29,8 @@ services:
start_period: 1s start_period: 1s
kokoro-tts: kokoro-tts:
# image: ghcr.io/remsky/kokoro-fastapi-cpu:latest 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 # Uncomment below (and comment out above) to build from source instead of using the released image
build: build:
context: . context: .
dockerfile: Dockerfile.cpu dockerfile: Dockerfile.cpu
@ -61,10 +62,10 @@ services:
# Gradio UI service [Comment out everything below if you don't need it] # Gradio UI service [Comment out everything below if you don't need it]
gradio-ui: 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 # Uncomment below (and comment out above) to build from source instead of using the released image
build: # build:
context: ./ui # context: ./ui
ports: ports:
- "7860:7860" - "7860:7860"
volumes: volumes:

View file

@ -1,3 +1,4 @@
name: kokoro-fastapi
services: services:
model-fetcher: model-fetcher:
image: datamachines/git-lfs:latest image: datamachines/git-lfs:latest
@ -32,10 +33,10 @@ services:
start_period: 1s start_period: 1s
kokoro-tts: 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 # Uncomment below (and comment out above) to build from source instead of using the released image
build: # build:
context: . # context: .
volumes: volumes:
- ./api/src:/app/api/src - ./api/src:/app/api/src
- ./Kokoro-82M:/app/Kokoro-82M - ./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 service [Comment out everything below if you don't need it]
gradio-ui: 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 # Uncomment below (and comment out above) to build from source instead of using the released image
# build: # build:
# context: ./ui # context: ./ui