Can't authenticate with Postgres after migration / flat docker compose file
Heyo,
I recently moved my NAS setup from Ubuntu server to Truenas.
I kept all the files of course so I still have both my Immich library and my Immich postgres database on my storage drive.
I would like to use truenas's custom app via YAML solution (because using premade apps is a pain when it comes to backups) but it does not let me add an env file.
I have therefore tried flattening my docker compose file (see comment).
Upon starting the containers, I notice that all the othe containers boot except for the immich-server one which cannot authenticate on the postgres DB.
I assume my docker configuration is erroneous.
I can access the DB by going inside the docker container (for some reason it doesn't require a password to connect when you're in the container - not sure how safe this is), after which I tried manually changing the password of the postgres user to a simple test string, but it still does not connect.
Thank you for any help.
I recently moved my NAS setup from Ubuntu server to Truenas.
I kept all the files of course so I still have both my Immich library and my Immich postgres database on my storage drive.
I would like to use truenas's custom app via YAML solution (because using premade apps is a pain when it comes to backups) but it does not let me add an env file.
I have therefore tried flattening my docker compose file (see comment).
Upon starting the containers, I notice that all the othe containers boot except for the immich-server one which cannot authenticate on the postgres DB.
I assume my docker configuration is erroneous.
I can access the DB by going inside the docker container (for some reason it doesn't require a password to connect when you're in the container - not sure how safe this is), after which I tried manually changing the password of the postgres user to a simple test string, but it still does not connect.
Thank you for any help.