piler-docker icon indicating copy to clipboard operation
piler-docker copied to clipboard

Piler tries to connect to the wrong database ip address

Open dominikjas opened this issue 6 months ago • 0 comments

Hallo,

erst einmal vielen Dank für die Mühen um die Software dockerfähig zu machen! Ich habe Piler so installiert, wie du es beschrieben hast, bis auf eine kleine Änderung. Ich habe die Host-Ports in der Datei „piler-default.yaml“ geändert, da die Ports 80 und 443 bereits auf meinem Dockerhost verwendet werden:

ports:
  - "26:25"
  - "83:80"
  - "4443:443"

Die Installation funktioniert dann auch ohne Fehlermeldung, allerdings kann ich das Webinterface dann nicht erreichen. Ich hatte in die Logs geschaut und ich glaube er versucht hier auf die falsche IP-Adresse zuzugreifen.

Übersicht der vorhandenen Container (mit IP-Adressinformationen): image Log vom piler-container: image Log vom mysql-container: image

Ich denke er sollte sich mit der "172.18.0.2" verbinden oder nicht? Einen Weg das zu ändern, habe ich nicht gefunden. Kannst du mir helfen?

english version:

Hello,

thank you for taking effort in dockerizing this software! I just installed piler the way you described it, except of one small modification. I changed the host-ports in the piler-default.yaml because the ports 80 and 443 are already in use on my dockerhost:

ports:
  - "26:25"
  - "83:80"
  - "4443:443"

The installation also works then without any error message but I cannot reach the webinterface then. I checked the logs and I think it tries to connect to the wrong ip adresss:

Overview of the existing containers (with ip address information): image Log from the piler-container: image Log from the mysql-container: image

I think it should try to connect to this ip address: 172.18.0.2, right? I didnt't find out how to change this. Can you help me?

dominikjas avatar Dec 16 '23 17:12 dominikjas