juzeon / poe-openai-proxy

A wrapper that lets you use the reverse-engineered Python library poe-api library as if it was the OpenAI API for ChatGPT. You can connect your favorite OpenAI API based apps to this proxy and enjoy the ChatGPT API for free!
GNU General Public License v3.0
424 stars 98 forks source link

Use another IP for api endpoint? #15

Closed arjanflac closed 1 year ago

arjanflac commented 1 year ago

Hello, I'm trying to figure out how to bind to a tailscale vpn IP instead of localhost as the endpoint http://localhost:3700/v1/chat/completions ----> http://100.x.y.z:3700/v1/chat/completions

This way I can keep this proxy running on my home server & access it via the server's Tailscale internal IP Would it be easier to configure is using docker?

is this possible?

juzeon commented 1 year ago

The service will bind port 3700 to every IP belonging to the server, so just run it and here you go.