x86dev / docker-ttrss

Tiny Tiny RSS feed reader as a Docker image.
54 stars 41 forks source link

Issue with early start with SQL #51

Closed P6g9YHK6 closed 2 years ago

P6g9YHK6 commented 3 years ago

If the container of TTRSS is configured with an SQL database and it starts before the SQL server it will serve the error: Exception while creating PDO object:SQLSTATE[08006] [7] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? And this even if the SQL server is available afterward.

Solution: restart the TTRSS container everytime.

Is there a workaround this issue ?

P6g9YHK6 commented 2 years ago

Closing this issue as i changed to another docker image