Configuration
Email
To send emails, you will have to configure the email driver. This is necessary for inviting new users to your workspace.
Docmost supports both SMTP and Postmark email drivers.
Using SMTP
MAIL_DRIVER=smtp
SMTP_HOST=
SMTP_PORT=
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_SECURE=
MAIL_FROM_ADDRESS=[email protected]
MAIL_FROM_NAME=Docmost
Using Postmark:
MAIL_DRIVER=postmark
POSTMARK_TOKEN=
MAIL_FROM_ADDRESS=[email protected]
MAIL_FROM_NAME=Docmost
File Storage
Docmost supports local storage, S3-compatible storage, and Azure Blob Storage drivers. The default driver is local storage.
STORAGE_DRIVER=local
Using S3-Compatible Storage
If you wish to use an S3-compatible storage, you have to add the below environment variables:
STORAGE_DRIVER=s3
AWS_S3_ACCESS_KEY_ID=
AWS_S3_SECRET_ACCESS_KEY=
AWS_S3_REGION=
AWS_S3_BUCKET=
AWS_S3_ENDPOINT=
AWS_S3_FORCE_PATH_STYLE=
Being S3-compatible means Docmost can work with AWS S3, Backblaze, Wasabi, DigitalOcean Spaces, Minio, and other S3-compatible providers.
Using Azure Blob Storage
If you wish to use Azure Blob Storage, you have to add the below environment variables:
STORAGE_DRIVER=azure
AZURE_STORAGE_ACCOUNT_NAME=
AZURE_STORAGE_ACCOUNT_KEY=
AZURE_STORAGE_CONTAINER=