Skip to content

IP_ADDRESS as an installer option #6346

@minosabi

Description

@minosabi

Is your feature request related to a problem? Please describe.
Yes.
I am installing localai in wsl (Ubuntu) as follows: curl https://localai.io/install.sh | PORT=10000 THREADS=16 sh
But the default ipaddress is 127.0.0.1 and in the windows environment I am getting an error if I try to connect to http://127.0.0.1:10000/v1/models.

Describe the solution you'd like
I would like to be able to provide a specific ip-address as an installer option to connect to localai from my windows environment

Is it possible to add an IP_ADDRESS installer option?
So I would be able to install localai as follows: curl https://localai.io/install.sh | PORT=10000 THREADS=16 IP_ADDRESS=192.168.XX.YYY sh

Describe alternatives you've considered
I first have to find out what the WSL IP-address is: ip addr show eth0
And then execute: sudo local-ai run --address=" WSL IP-address:PORT".
This works but it would be nicer to be able to provide an ip-address as installer option just like port.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions