Closed GoingOffRoading closed 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
Problem: Whats wrong? The Maria/mysql DB is not accessible via localhost. Instead, for the Docker Image eveseat/seat:4, I am passing the Variable DB_HOST for database host IP to the Seat container when the container starts. I know this is working correctly/as expected because I am passing the "# Wait for MySQL" test in the docker-entrypoint.sh on container build without errors. However when start_web_service starts, the container crashes because PDOConnection.php is looking for the database on local host, instead of at the IP passed for DB_HOST.
Expected: What did you expect to happen?
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
Docker Image "eveseat/seat:4"