Skip to content

Run Companion Dashboard without the Electron frontend #75

@bost-ty

Description

@bost-ty

Hi Tom!

Thank you for Companion Dashboard. I'm a big fan and have been experimenting with using it on different systems. Naturally, that means I'm running into less-common situations :).

This issue is a request to work around a (perhaps) specific problem I'm having with a new deployment.

I'd like to run Companion Dashboard in a non-GUI/server-like environment (Bitfocus Companion provides a headless launcher that works well) and control/view/customize it over LAN via the web server.

The web server defaults to port 80 always, and isn't saved/loaded from a saved configuration. Running Companion Dashboard as a non-root user means that the server will be blocked from opening port 80 and an error will show, but the UI state appears to indicate that the server is running.

Running npm run dev actually starts a local server that I can access, but that's the Vite dev server and I don't want to use it in production (localhost:5173). Also, pretty sure any changes made via /control aren't pushed to the other instances (tested dirtily by opening in two tabs).

Run npm run build and then npm run preview, I can try to open the web server @ localhost:4173 but the "Connection Lost, attempting to reconnect" message is persistent. The page loads to display that message, so the web server is running at least that far.

I couldn't find a way to fix it on my own, but if you'd like to point me at where to start, I'm happy to take a crack at it if this isn't a priority for you.

Cheers! 😁

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions