DomiStyle / docker-tor-browser

Tor Browser (in a browser)
https://hub.docker.com/r/domistyle/tor-browser
MIT License
80 stars 23 forks source link

Port Change Variable #19

Closed capriciousduck closed 1 year ago

capriciousduck commented 3 years ago

Is it possible to assign a port using $PORT so that this app can be deployed on Heroku?

DomiStyle commented 3 years ago

It currently isn't possible, no.

vital987 commented 3 years ago

It is possible with socat and also I did it in my project but in this project socat works fine but other services messes with Heroku root access rights, but this project can be customized to run without root permissions :/

vital987 commented 3 years ago

Is it possible to assign a port using $PORT so that this app can be deployed on Heroku?

I've made chromium version which can be deployed on Heroku, you can check it out here

capriciousduck commented 3 years ago

I guess it won't work fine as the shared memory (SHM) on Heroku is set to only 64MB for the free dyno.

vital987 commented 3 years ago

I guess it won't work fine as the shared memory (SHM) on Heroku is set to only 64MB for the free dyno.

One of the reason I switched to chromium cause it has option to disable the usage of shared memory with --disable-dev-shm-usage flag.

vital987 commented 3 years ago

I guess it won't work fine as the shared memory (SHM) on Heroku is set to only 64MB for the free dyno.

I experienced Firefox quitting randomly and so Chromium but after disabling the shared memory usage for chromium, it worked without any issues.

lawndoc commented 1 year ago

The newer version of our base image now supports this. Just add the following environment variables to your container at runtime:

See the README in the base image link above for details.

This issue has been resolved and can be closed @DomiStyle