diff --git a/config/env/production/plugins.ts b/config/env/production/plugins.ts new file mode 100644 index 0000000..f5c979c --- /dev/null +++ b/config/env/production/plugins.ts @@ -0,0 +1,42 @@ +export default () => ({ + email: { + config: { + provider: "nodemailer", + providerOptions: { + host: "mail.harmonychoral.com", + port: 465, + auth: { + user: "admin@harmonychoral.com", + pass: "Apslxnap12bn23", + }, + // ... any custom nodemailer options + }, + settings: { + defaultFrom: "admin@harmonychoral.com", + defaultReplyTo: "admin@harmonychoral.com", + }, + }, + }, + upload: { + config: { + provider: "aws-s3", + providerOptions: { + //baseUrl: "http://192.168.0.211:9000/harmony", + baseUrl: "https://container.harmonylab.ovh/harmony", + s3Options: { + credentials: { + accessKeyId: "admin", + secretAccessKey: "Apslxnap12bn23", + }, + //endpoint: "http://192.168.0.211:9000", + endpoint: "https://container.harmonylab.ovh", + region: "eu-west-3", + forcePathStyle: true, + params: { + Bucket: "harmony", + }, + }, + }, + }, + }, +});