How to use Pino transport to save log outside Strapi

That might be the better solution (or you can run pm2 inside the container, but that’s not really recommended since you won’t see the log output with the docker logs command)