missing stream api port added to docker compose (#2005)

This commit is contained in:
real 2023-05-11 20:07:56 +02:00 committed by GitHub
parent 309b72e549
commit 4e9da22c58
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -21,5 +21,10 @@ HOST_API_PORT=5000
# the port the api binds to inside the container # the port the api binds to inside the container
CONTAINER_API_PORT=5000 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 # the version used to install text-generation-webui from
WEBUI_VERSION=HEAD WEBUI_VERSION=HEAD

View file

@ -11,6 +11,7 @@ services:
ports: ports:
- "${HOST_PORT}:${CONTAINER_PORT}" - "${HOST_PORT}:${CONTAINER_PORT}"
- "${HOST_API_PORT}:${CONTAINER_API_PORT}" - "${HOST_API_PORT}:${CONTAINER_API_PORT}"
- "${HOST_API_STREAM_PORT}:${CONTAINER_API_STREAM_PORT}"
stdin_open: true stdin_open: true
tty: true tty: true
volumes: volumes: