serjs / socks5-server

668 stars 165 forks source link

PROXY_PORT env #3

Closed shtirlic closed 4 years ago

shtirlic commented 6 years ago

It's nice to have port configurable

ilnuribat commented 6 years ago

Can you use

-p <your_port>:1080

?

shtirlic commented 6 years ago

Yeah that's how I do it now, but ENV_PORT would be great

serjs commented 6 years ago

Hi!

@shtirlic Today's :latest tag for image on dockerhub updated with PROXY_PORT, I merge changes into master and update README with all supported ENV params.

So you can change listen port for server.go in container or binary itself.

serjs commented 4 years ago

From v0.0.2 release already added this feature, so there are no need to use only latest image tag So long without any updates