Is it possible to change port of LocalAI to run on Jupyter Lab on Vertex AI? #292
-
Something is already holding 8080 on Vertex AI workbench. How do I change the port so I can run it on Vertex AI?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You can change the port over here: https://github.com/go-skynet/LocalAI/blob/aa7a18f131547537ad0df3808aec895e0e438c22/docker-compose.yaml#L10 |
Beta Was this translation helpful? Give feedback.
-
This worked. Thanks! Specifically in
This pointed the host port (8081) to point the the container port that localai was running on (8080). |
Beta Was this translation helpful? Give feedback.
-
"If running in p2p mode with container images, make sure you start the container with --net host or network_mode: host in the docker-compose file." source clearly there must be some under-documented flag or env var to tell the localai server to listen on another port, since a port mapping won't work with the network mode in the docs. |
Beta Was this translation helpful? Give feedback.
You can change the port over here: https://github.com/go-skynet/LocalAI/blob/aa7a18f131547537ad0df3808aec895e0e438c22/docker-compose.yaml#L10