Error: NODE_ENV=production yarn start

Hi,
probably to late, but in case…
You are trying destructure the values from DATABASE_HOST instead of something like DATABASE_URL like described in the Guide for deploying to Digital Ocean from the docs

const { host, port, database, user, password } = parse(env("DATABASE_HOST"));

But you can also do it like in your development configuration and get the values from the .env file directly (second argument is the fallback value)

host: env('DATABASE_HOST', 'localhost'),
port: env.int('DATABASE_PORT', 3306),
database: env('DATABASE_NAME', 'strapi'),
user: env('DATABASE_USERNAME', 'strapi'),
password: env('DATABASE_PASSWORD', 'strapi'),
...