my app keycloack-patri cannot connect to patri-db app i did run attach and got the connection string but when the app run i get timeout
Hi… Java apps generally don’t notice the DATABASE_URL environment variable that fly pg attach sets. (There isn’t really any magic in that latter command.)
This older forum thread shows people eventually getting Keycloak to connect to Legacy Postgres, although definitely note the two posters’ warnings against putting passwords in fly.toml:
https://community.fly.io/t/run-keycloak-with-fly/5454
Hope this helps!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.