Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
The error log that you’ve shared indicates that the issue is with the SSL cert. You would need to make sure your Directus container has the proper SSL certificate to connect to the DigitalOcean managed PostgreSQL database. I could suggest connecting to the container and verifying that the CA certificate actually exists at /directus/DO-SSL/ca-certificate.crt.
While connected to the container, make sure that the environment variables are being properly passed to the Directus container. You could use the printenv command to check that.
You can also, quickly test the connectivity from your container using psql:
docker exec -it <directus_container_id> bash
psql "host=private-dev-postgres-do-user-xxxxxxxx-0.b.db.ondigitalocean.com port=25060 dbname=xxxx-xxx-connection-pool user=aita password=AVNS_..................... sslmode=verify-full sslrootcert=/directus/DO-SSL/ca-certificate.crt"
Feel free to share your docker-compose file here so that I could try to spot any issues as well.
- Bobby