Closed Heitikol closed 3 weeks ago
We do not have the bandwidth needed to maintain the UI on the docker image working. But PR are accepted ;)
Hi Jerome, thank you for your feedback. We'll think about integrating the UI and simulator in a docker image. If we do, we'll provide a PR Thank you
We'll think about integrating the UI and simulator in a docker image. If we do, we'll provide a PR
On a different docker image than the one running the simulator?
Since the Web UI is far from being secure, the recommended setup is to deploy the simulator alone with the UI server enabled and protected behind a WSS reverse proxy. And setup the UI locally to connect to the multiples simulators instance deployed to monitor them. The authentication less UI is then not exposed to the public.
Duplicate issue
Component
Web UI
Description
When starting the simulator via docker compose up, the web-ui can't connect to the simulator.
Version
1.3.3
Node.js version
v20.12.2
System
Win 10
Expected result
Running
docker compose up
results in the calibrated charging stations being accessible via the UI. We expect the same behaviour as when running the simulator viapnpm start
andpnpm preview
(i.e. not in a container)Actual result
Running
docker compose up
results in the configured charging stations successfully being simulated, e.g. trying to connect to the provided supervision URL maintained in the config-file in the docker-folder. But when opening the UI via http://localhost:3030/ it throws an error:Toast:
Browser console:
ws://localhost:8080/
failed'localhost
When running the simulator via
pnpm start
andpnpm preview
the UI works as expectedSteps to reproduce
cd ui
cd web
docker compose up -d --build --force-recreate
Attachments