Commit 23eb4915 by jay

basic set up

1 parent 00138363
module.exports = ({ env }) => ({
// ...
// Reference: https://github.com/strapi/strapi/tree/main/packages/providers/email-nodemailer
email: {
config: {
provider: "nodemailer",
providerOptions: {
host: env("SMTP_HOST", "smtp.example.com"),
port: env("SMTP_PORT", 587),
auth: {
user: env("SMTP_USERNAME"),
pass: env("SMTP_PASSWORD"),
},
// ... any custom nodemailer options
},
settings: {
defaultFrom: "from@example.com",
// defaultReplyTo: "hello@example.com"
},
},
},
// email: {
// config: {
// provider: "nodemailer",
// providerOptions: {
// host: env("SMTP_HOST", "smtp.example.com"),
// port: env("SMTP_PORT", 587),
// auth: {
// user: env("SMTP_USERNAME"),
// pass: env("SMTP_PASSWORD"),
// },
// // ... any custom nodemailer options
// },
// settings: {
// defaultFrom: "from@example.com",
// // defaultReplyTo: "hello@example.com"
// },
// },
// },
// ...
// ...
// Reference: https://www.npmjs.com/package/@strapi/provider-upload-aws-s3
upload: {
config: {
provider: "aws-s3",
providerOptions: {
accessKeyId: env("AWS_ACCESS_KEY_ID"),
secretAccessKey: env("AWS_ACCESS_SECRET"),
region: env("AWS_REGION"),
params: {
Bucket: env("AWS_BUCKET"),
},
},
actionOptions: {
upload: {},
uploadStream: {},
delete: {},
},
},
},
// upload: {
// config: {
// provider: "aws-s3",
// providerOptions: {
// accessKeyId: env("AWS_ACCESS_KEY_ID"),
// secretAccessKey: env("AWS_ACCESS_SECRET"),
// region: env("AWS_REGION"),
// params: {
// Bucket: env("AWS_BUCKET"),
// },
// },
// actionOptions: {
// upload: {},
// uploadStream: {},
// delete: {},
// },
// },
// },
// ...
});

11.8 KB | W: | H:

3.6 KB | W: | H:

src/admin/extensions/logo.png
src/admin/extensions/logo.png
src/admin/extensions/logo.png
src/admin/extensions/logo.png
  • 2-up
  • Swipe
  • Onion skin
No preview for this file type

11.8 KB | W: | H:

3.6 KB | W: | H:

src/extensions/logo.png
src/extensions/logo.png
src/extensions/logo.png
src/extensions/logo.png
  • 2-up
  • Swipe
  • Onion skin
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!