Use host port mapping in stack config #270

Open
opened 2023-04-01 19:44:15 +00:00 by dboreham · 0 comments
Owner

Currently the console webapp has its API service URL hard wired as http://localhost:9473/api, and the laconicd compose file has a fixed port mapping of 9473:9473 to suit.

This should instead be done with a non-fixed port mapping and some plumbing to pick up the actual mapped port at deploy time then pass that in to the hosted config script inside the container so it can set the correct URL dynamically.

Currently the console webapp has its API service URL hard wired as `http://localhost:9473/api`, and the laconicd compose file has a fixed port mapping of `9473:9473` to suit. This should instead be done with a non-fixed port mapping and some plumbing to pick up the actual mapped port at deploy time then pass that in to the hosted config script inside the container so it can set the correct URL dynamically.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#270
No description provided.