Skip to content

Commit

Permalink
Shuffled ports
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykleynhans committed Nov 9, 2023
1 parent ffdb6ef commit b1e9609
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ docker run -d \
-v /workspace \
-p 3000:3001 \
-p 5000:5001 \
-p 5005:5006 \
-p 6000:6050 \
-p 6005:6055 \
-p 8888:8888 \
-e JUPYTER_PASSWORD=Jup1t3R! \
ashleykza/oobabooga:latest
Expand Down
4 changes: 2 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ http {
}

server {
listen 5001;
listen 5000;

location / {
add_header Cache-Control no-cache;
proxy_pass http:https://localhost:5000;
proxy_pass http:https://localhost:5001;
proxy_http_version 1.1;
proxy_set_header Accept-Encoding gzip;
proxy_set_header Upgrade $http_upgrade;
Expand Down
2 changes: 1 addition & 1 deletion nginx/template-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
| Port | Description |
|------|--------------------------------|
| 3000 | Text Generation Web UI |
| 5001 | Open AI Compatible API |
| 5000 | Open AI Compatible API |
| 6000 | Text Generation REST API |
| 6005 | Text Generation Websockets API |
| 8888 | Jupyter Lab |
Expand Down
2 changes: 1 addition & 1 deletion start_textgen_server.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

ARGS=("$@" --listen --api --listen-port 3001 --api-blocking-port 6050 --api-streaming-port 6055 --extensions openai)
ARGS=("$@" --listen --api --listen-port 3001 --api-port 5001 --api-blocking-port 6050 --api-streaming-port 6055 --extensions openai)

if [[ -f /workspace/text-gen-model ]];
then
Expand Down

0 comments on commit b1e9609

Please sign in to comment.