board
board copied to clipboard
Docker restyaboard webport
Description
Ability to change the WEBPORT=
in the restyaboard Docker image.
Why it should be implemented
This would be useful for users who would like to run this image with network_mode: host to permit user IP addresses to display correctly, but don't want to run the image on port 80 (e.g. running behind a reverse proxy with multiple other services).
@jaroslawjanas Thanks for your suggestion. Are you referring to
The default port is
1234
, if you want to modify refer https://github.com/RestyaPlatform/board/blob/dev/docker-compose.prod.yml#L6
https://restya.com/board/docs/install-restyaboard-docker/#1 ?
My bad for not clarifying it. I meant it as an Environmental variable in here. I already defined the reason for it above.
@jaroslawjanas Thanks for explaining.
Internal note
Refer https://github.com/docker/compose/pull/1765 (Reading port from the environment variable, so that they're not hardcoded in the composer file)