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
No known key found for this signature in database
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: