strapi on docker with postgres issue

Viewed 277

I have followed this post to install strapi version 4 using docker compose, and use it to run a postgres db and a local instance.

When I run:

docker-compose up -d

This runs strapi and postgres in their own containers

When I run:

docker-compose up -d postgresdb && yarn develop

I get a error saying that:

debug: ⛔️ Server wasn't able to start properly.

error: The server does not support SSL connections

I have enclosed a screenshot of the commands I am running:

enter image description here

Is there something in either .env, Dockerfile, docker-compose.yml or the database.js file settings from the above mentioned tutorial page that is not correct?

0 Answers
Related