On Wed, May 3, 2023 at 9:44 PM Markus Rosjat <[email protected]> wrote:
>
> hi all,
>
>  i try to play around a little and hit a bump in the road with using 2 
> containers formy setup. I got one container for trac and one container for 
> postgresql.

You should share your docker-compose.yml if you want advice and supports.

> So far so good, if i try to connect with python from trac container to the 
> postgresql one i can query data as expected

How did you execute query to verify it? Please provide commands which you tried.

> but if i try to run tracd it tells me it can connect to the db ... here is my 
> pseudo connection string in my trac.ini
>
> database = postgres://dbuser:dbpassword@dockercontainer:5432/tracdb

Try to use "localhost" instead of "dockercontainer".


-- 
Jun Omae <[email protected]> (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CAEVLMagL3AQJVvFov6dUPwCsRgBmi1WCg-ysqxL3SFoE%3Dj5ieg%40mail.gmail.com.

Reply via email to