2024-06-27 17:55:17 +01:00
|
|
|
# your domain, e.g https://example.com
|
2024-06-07 17:29:34 +01:00
|
|
|
APP_URL=http://localhost:3000
|
2024-04-25 22:36:03 +01:00
|
|
|
PORT=3000
|
2023-09-23 13:54:11 +01:00
|
|
|
|
2025-02-06 17:46:32 +00:00
|
|
|
# minimum of 32 characters. Generate one with: openssl rand -hex 32
|
2024-06-27 17:55:17 +01:00
|
|
|
APP_SECRET=REPLACE_WITH_LONG_SECRET
|
|
|
|
|
2023-09-23 13:54:11 +01:00
|
|
|
JWT_TOKEN_EXPIRES_IN=30d
|
|
|
|
|
2024-06-07 17:29:34 +01:00
|
|
|
DATABASE_URL="postgresql://postgres:password@localhost:5432/docmost?schema=public"
|
|
|
|
REDIS_URL=redis://127.0.0.1:6379
|
2023-09-23 13:54:11 +01:00
|
|
|
|
2024-06-27 17:55:17 +01:00
|
|
|
# options: local | s3
|
2023-09-23 13:54:11 +01:00
|
|
|
STORAGE_DRIVER=local
|
|
|
|
|
2024-06-27 17:55:17 +01:00
|
|
|
# S3 driver config
|
2023-09-23 13:54:11 +01:00
|
|
|
AWS_S3_ACCESS_KEY_ID=
|
|
|
|
AWS_S3_SECRET_ACCESS_KEY=
|
|
|
|
AWS_S3_REGION=
|
|
|
|
AWS_S3_BUCKET=
|
|
|
|
AWS_S3_ENDPOINT=
|
2024-08-20 20:05:59 +08:00
|
|
|
AWS_S3_FORCE_PATH_STYLE=
|
2024-05-02 03:12:40 +01:00
|
|
|
|
2024-10-10 21:28:28 +01:00
|
|
|
# default: 50mb
|
|
|
|
FILE_UPLOAD_SIZE_LIMIT=
|
|
|
|
|
2024-06-27 17:55:17 +01:00
|
|
|
# options: smtp | postmark
|
2024-05-02 03:12:40 +01:00
|
|
|
MAIL_DRIVER=smtp
|
|
|
|
MAIL_FROM_ADDRESS=hello@example.com
|
2024-06-07 17:29:34 +01:00
|
|
|
MAIL_FROM_NAME=Docmost
|
2024-05-02 03:12:40 +01:00
|
|
|
|
2024-06-27 17:55:17 +01:00
|
|
|
# SMTP driver config
|
|
|
|
SMTP_HOST=127.0.0.1
|
|
|
|
SMTP_PORT=587
|
|
|
|
SMTP_USERNAME=
|
|
|
|
SMTP_PASSWORD=
|
2024-08-02 11:19:12 +02:00
|
|
|
SMTP_SECURE=false
|
2024-09-21 02:57:50 +10:00
|
|
|
SMTP_IGNORETLS=false
|
2024-06-27 17:55:17 +01:00
|
|
|
|
|
|
|
# Postmark driver config
|
2024-05-02 03:12:40 +01:00
|
|
|
POSTMARK_TOKEN=
|
|
|
|
|
2024-11-28 18:48:25 +00:00
|
|
|
# for custom drawio server
|
2025-02-27 15:58:32 +00:00
|
|
|
DRAWIO_URL=
|