eveseat / seat

🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager
https://eveseat.github.io/docs/
GNU General Public License v2.0
425 stars 143 forks source link

PDOConnection.php does not inherit DB_HOST Docker Variable #868

Closed GoingOffRoading closed 2 years ago

GoingOffRoading commented 2 years ago

I expected PDOConnection.php to use the database IP I passed using DB_HOST, instead of a hard-coded local host value.

This is a deployment to Kuberentes, so the kubectl logs is equivalent to sudo docker container logs

~$ kubectl logs --follow -l app=dwseatweb -n dw
  SQLSTATE[HY000] [1045] Access denied for user 'seat'@'10.40.0.0' (using passw
  ord: YES)

In PDOConnection.php line 40:

  SQLSTATE[HY000] [1045] Access denied for user 'seat'@'10.40.0.0' (using passw
  ord: YES)

Docker Image "eveseat/seat:4"

GoingOffRoading commented 2 years ago

Please feel free to resolve this issue

The issue here is that I brain farted and used LinuxServer's Maria DB Docker Image instead of the Maria DB official Docker Image.

I don't know what LinuxServer changes in their implentation, but when I switched to the official image, Seat -web worked just fine