Page MenuHomePhabricator

Custom port for docker image
Open, Needs TriagePublicFeature

Description

We need a solid and simple way to customize port where wiki server will listen to. At this point, we can only bind port 80 which causes some configuration troubles with reverse proxy configuration.

Instead of using port option to export port 80 in docker-compose:

ports:
    8080:80

we would like to use something like:

expose:
   - 3001

and environment variable to set listen port.

By the way, we tried to do this manually by changing settings in apache2 config directory, but with no luck. Server keeps listening on port 80. So, any help will be appreciated.

Event Timeline

Is there an actual issue that implementing this Feature would solve? As far as I know it is not unusual to do a port binding like in your upper example 😄 🤔