Hello Cloudron Support,
I need assistance with an internal app-to-app database connection.
Context:
We are using NocoDB and Metabase on Cloudron Pro.
NocoDB is working correctly with the internal PostgreSQL addon (confirmed through Web Terminal using printenv | grep POSTGRESQL).
Metabase was freshly reinstalled and is working normally.
Problem:
We cannot establish a connection from Metabase to NocoDB’s PostgreSQL database.
Metabase shows this error:
“No pg_hba.conf entry for host 172.x.x.x”
The Cloudron documentation says that apps can access another app’s PostgreSQL addon via the hostname “postgresql”, and that the addon credentials can be used directly in other apps.
We followed the guide:
https://docs.cloudron.io/guides/connect-postgresql/
We retrieved the credentials inside NocoDB:
CLOUDRON_POSTGRESQL_URL
CLOUDRON_POSTGRESQL_DATABASE
CLOUDRON_POSTGRESQL_USERNAME
CLOUDRON_POSTGRESQL_PASSWORD
CLOUDRON_POSTGRESQL_HOST (postgresql)
CLOUDRON_POSTGRESQL_PORT (5432)
These credentials work inside NocoDB itself, but Metabase cannot connect using them.
It looks like the Metabase container is not allowed to access the NocoDB PostgreSQL addon.
Issue:
We are unable to locate any “Access Control”, “Network Policy”, or “Database addon permissions” screen in the current Cloudron UI for the NocoDB app.
Without these options, we cannot confirm whether Metabase is allowed to reach the internal PostgreSQL service of NocoDB.
What we need clarified:
Where exactly, in the current Cloudron UI, can we allow Metabase to access NocoDB’s PostgreSQL addon?
(or confirm if this access is automatically allowed)
Does Cloudron require any explicit permission or network configuration for one app (Metabase) to connect to another app’s PostgreSQL addon?
Is the “postgresql” hostname the correct one for inter-app communication in this scenario?
If additional configuration is required, could you provide the exact step-by-step instructions?
This is blocking our setup, and we would appreciate detailed guidance.
Thank you.