Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Comments

Add port to serve to ENV variables#12

Open
jnovikov wants to merge 1 commit intoex3ndr:masterfrom
jnovikov:master
Open

Add port to serve to ENV variables#12
jnovikov wants to merge 1 commit intoex3ndr:masterfrom
jnovikov:master

Conversation

@jnovikov
Copy link

@jnovikov jnovikov commented Jun 9, 2018

My provider blocks all connections to 1080 PORT, so I had to change proxy port.
In this pull request port is getting from ENV. Default value is 1080.

@iworker
Copy link
Contributor

iworker commented Jun 10, 2018

You can change port when you start docker container.
Like docker run --restart always -d --name telegram-proxy -p 2345:1080 ex3ndr/telegram-proxy for port 2345.

@iworker
Copy link
Contributor

iworker commented Jun 10, 2018

Also it's better to use MTProto proxy. Instruction is available here: https://habr.com/post/412755/

@jnovikov
Copy link
Author

But, what if I want to use it without docker ?

@iworker
Copy link
Contributor

iworker commented Jun 12, 2018

Using it without docker looks like exceptional case.
But if you really want to, this PR makes sense.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants