N8N can't run on Google Cloud

Describe the problem/error/question

I have a n8n selfhosted container on docker desktop, and I use redis, postgres and waha (whatsapp API) to create my virtual agent. All of these containers are in a compose stack in docker desktop and running only when my PC is turned on, and I want to use it remotelly, so I push my containers individually to docker hub and create my project in google cloud with the images and creted a DB with postgres. But my n8n can’t run.

What is the error message (if any)?

The user-provided container failed to start and listen on the port defined provided by the PORT=5678 environment variable within the allocated timeout.

Please share your workflow

environment:
- DB_TYPE
- DB_POSTGRESDB_HOST
- DB_POSTGRESDB_PORT
- DB_POSTGRESDB_DATABASE
- DB_POSTGRESDB_USER
- DB_POSTGRESDB_PASSWORD
- N8N_BASIC_AUTH_ACTIVE
- N8N_BASIC_AUTH_USER
- N8N_BASIC_AUTH_PASSWORD

Information on your n8n setup

  • n8n version: latest
  • Database (default: SQLite):: postgresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**docker/ googlecloud
  • Operating system: linux/amd64

Hello,

Could I have a little bit more information on which stack in google cloud used to deploy n8n ?
Did you follow the guide here? Google Cloud | n8n Docs