Here are the changes to get it working:
- Delete the component database in app plattform and only use the previously created db
- Hard code the connection string to app plattform env (picture below)
- Set NODE_ENV to production (picture below)
- Set ssl in database.js like this.
ssl: { rejectUnauthorized: env.bool(“DATABASE_SSL_SELF”, false), // For self-signed certificates }