From 789b1c4dff545c283e1e53557025892750d137ef Mon Sep 17 00:00:00 2001 From: Atinoda <61033436+Atinoda@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:51:05 +0100 Subject: [PATCH] Add `init: true` to example docker-compose - Enables clean container exit --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 647505d..9b4f94e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ services: # - BUILD_EXTENSIONS_LIVE="coqui_tts whisper_stt" # Install named extensions during every container launch. THIS WILL SIGNIFICANLTLY SLOW LAUNCH TIME AND IS NORMALLY NOT REQUIRED. # - OPENEDAI_EMBEDDING_MODEL=intfloat/e5-large-v2 # Specify custom model for embeddings # - OPENEDAI_EMBEDDING_DEVICE=cuda # Specify processing device for embeddings + init: true # Runs an init process (PID 1) that forwards signals and reaps processes ports: - 7860:7860 # Default web port # - 5000:5000 # Default API port