From 4e9da22c58c9aa50f1cdfd6cbad950540fe778f7 Mon Sep 17 00:00:00 2001 From: real Date: Thu, 11 May 2023 20:07:56 +0200 Subject: [PATCH] missing stream api port added to docker compose (#2005) --- docker/.env.example | 5 +++++ docker/docker-compose.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/docker/.env.example b/docker/.env.example index d20300b7..3119a9f0 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -21,5 +21,10 @@ HOST_API_PORT=5000 # the port the api binds to inside the container CONTAINER_API_PORT=5000 +# the port the api stream endpoint binds to on the host +HOST_API_STREAM_PORT=5005 +# the port the api stream endpoint binds to inside the container +CONTAINER_API_STREAM_PORT=5005 + # the version used to install text-generation-webui from WEBUI_VERSION=HEAD diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 5d9b7957..bc59dc3b 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -11,6 +11,7 @@ services: ports: - "${HOST_PORT}:${CONTAINER_PORT}" - "${HOST_API_PORT}:${CONTAINER_API_PORT}" + - "${HOST_API_STREAM_PORT}:${CONTAINER_API_STREAM_PORT}" stdin_open: true tty: true volumes: