board icon indicating copy to clipboard operation
board copied to clipboard

Docker restyaboard webport

Open jaroslawjanas opened this issue 4 years ago • 3 comments

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 avatar Oct 20 '20 13:10 jaroslawjanas

@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 ?

rrjanbiah avatar Oct 20 '20 13:10 rrjanbiah

My bad for not clarifying it. I meant it as an Environmental variable in here. I already defined the reason for it above.

jaroslawjanas avatar Oct 21 '20 01:10 jaroslawjanas

@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)

rrjanbiah avatar Oct 21 '20 09:10 rrjanbiah