sap-labs-france / ev-server

The Open e-Mobility Charging Station management backend server (check also ev-dashboard and ev-mobile)
https://open-e-mobility.fr/
Apache License 2.0
156 stars 145 forks source link

docker installation: central server? #4232

Open jovrstra opened 6 months ago

jovrstra commented 6 months ago

Hello, I'm trying to install the server and dashboard using the docker files (make without submodules). I do not seem to get error messages, all containers are up and running (maildev shows as unhealthy though)... However, when I try to log in, the dashboard gives an error "cannot reach to the central server".

I don't know how to try to reach the central server outside of the dashboard...

Can anyone help? Thanks!

Jörg

PS: docker ps summary evse-dashboard 0.0.0.0:3080->80/tcp, :::3080->80/tcp evse-dashboard-1 evse-server 0.0.0.0:81->81/tcp, :::81->81/tcp, 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 0.0.0.0:8010->8010/tcp, :::8010->8010/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp, 0.0.0.0:9090->9090/tcp, :::9090->9090/tcp, 0.0.0.0:9292->9292/tcp, :::9292->9292/tcp evse-server-1 mongo:4.2 0.0.0.0:27017->27017/tcp, :::27017->27017/tcp evse-mongodb-1 maildev/maildev 0.0.0.0:1025->1025/tcp, :::1025->1025/tcp, 0.0.0.0:1080->1080/tcp, :::1080->1080/tcp evse-mailserver-1 mongo-express 0.0.0.0:8091->8081/tcp, :::8091->8081/tcp

UBT-FJ commented 6 months ago

it is not enough to see the view of the docker here, can you post the config of both dashboard and server (if you didnt fix it so far)

jovrstra commented 6 months ago

I'm going over it with our system administrator. He already noticed that the mongodb dockerfile still contains link, which has been made obsolete. We'll check further, but at the moment I also have to wait for his input. I'll post back anything that can help others.

Anasonic commented 4 months ago

Hallo @jovrstra did you solve the problem i have the same problem

jovrstra commented 4 months ago

Unfortunately not. I If I remember well the main problems we had with the configuration scripts of MongoDB, but it started to take up too much time and we started looking for another solution. It is a shame, as this project looked perfect for us. Sorry I cannot be of help...

UBT-FJ commented 4 months ago

For the connection it is very easy to make it!

Actualy best is to use the string, but before that you need to setup the DB, like users, create database, activate replica etc.

In the docker folder, there is a script that does all of this automatically.

Can you tell us what went wrong?

jovrstra commented 4 months ago

I don't remember and no longer have the setup to verify... But maybe Anasonic can provide feedback.

Anasonic commented 4 months ago

I tried but 😔 Can you help us with a paid fees @UBT-FJ
Eng.anas00@gmail.com Ws:00967738306415