-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: develop
Are you sure you want to change the base?
Conversation
Use influxdb built-in provisioning
- monitoring | ||
|
||
openems-ui: | ||
image: openems/ui-backend:latest |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Use influxdb built-in provisioning