Add --port option to run-webapp. #667

Merged
telackey merged 3 commits from telackey/rwaport into main 2023-11-29 17:32:28 +00:00
Member

Short of a full deployment, being able to specify the port can still be useful (eg, in scripting).

❯ laconic-so run-webapp --image cerc/test-progressive-web-app:local --port 4243
Image: cerc/test-progressive-web-app:local
ID: c6642396ebc339f2f4f6fca4ff353e67214002370228a5b4aad08b47cdd6b4e7
URL: http://localhost:4243
Short of a full deployment, being able to specify the port can still be useful (eg, in scripting). ``` ❯ laconic-so run-webapp --image cerc/test-progressive-web-app:local --port 4243 Image: cerc/test-progressive-web-app:local ID: c6642396ebc339f2f4f6fca4ff353e67214002370228a5b4aad08b47cdd6b4e7 URL: http://localhost:4243 ```
Owner

This maps the container port to some specified port on the host, presumably?

This maps the container port to some specified port on the host, presumably?
Author
Member

Yep, rather than using a random port. The idea was that if you had a proxy in front (nginx, for example) it would be a configuration hassle if the container if the port changed every time.

Yep, rather than using a random port. The idea was that if you had a proxy in front (nginx, for example) it would be a configuration hassle if the container if the port changed every time.
dboreham approved these changes 2023-11-28 19:02:08 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#667
No description provided.