WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Easier deployment on local network #119

@hummuscience

Description

@hummuscience

I managed to get a linux machine with a GPU to get the Pose App running.

I need to be able to access the App from the network (the machine is not generally accessible). So I tried to open up the appropriate port (7501) on the machine. It seems to have worked, as I see the browser tab change to "lightning.ai" and the tab going straight to http://<server-ip>:7501/view/Manage Project .

But now I get errors that other ports can't be accessed (localhost:44429 for example).

If I understand this correctly, these are the ports on which the multiple servers required by the Pose App are running. two streamlit servers, one label-studio and one fiftyone. These ports are also currently not fixed and change every time I re-start the app.

Opening up all the ports on the machine is not an option for our IT (too much attack surface).

I am currently thinking of editing the App code and hard-code the $host and $port variables. This is a temporary solution, as it will probably be overwritten or needs to be manually adjusted every time there is a Pose App update.

Is there an easier way of doing so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions