module.exports = {
  apps: [{
    name: 'uno-bff',
    script: './app.js',
    instances: 1,
    autorestart: true,
    watch: false,
    max_memory_restart: '500M',
    env: {
      NODE_ENV: 'production',
      PORT: 3001,
      S3_ENDPOINT: 'http://127.0.0.1:9000',
      S3_ACCESS_KEY: 'UN0-admin',
      S3_SECRET_KEY: 'RAygtZHqGN49qKn',
      S3_BUCKET: 'uno-click',
      S3_IMAGES_INPUT_FOLDER: 'images_input',
      S3_PRESIGNED_URL_EXPIRES_IN: 3600,
    },
  }],
};
