Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose dev environment setup #4

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Bachibouzouk
Copy link

Use influxdb built-in provisioning

Use influxdb built-in provisioning
- monitoring

openems-ui:
image: openems/ui-backend:latest
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fbarthez - are you sure you don't need to specify ports here? Locally I needed to do so and then I saw that I did not get connection to the websocket, ie I needed openems-edge service also in the docker

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bachibouzouk The intent here was to have the UI connect to the openEMS instance started via eclipse on localhost:8085. If openEMS is running within a Docker container, then this won't work.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, I understand now


To start, run ```docker compose up -d```. To stop it, run ```docker compose down```. To also remove all volumes and thus all data in influxdb, run ```docker compose down -v```.

With openEMS running, use [Apache Felix](http://localhost:8080/system/console/configMgr) to configure the "Timedata InfluxDB" plugin:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it asks me for a username and password here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bachibouzouk The default: admin:admin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants