Files
docmost/.env.example
T

71 lines
1.4 KiB
Bash
Raw Normal View History

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
# 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
# options: local | s3 | azure
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=
AWS_S3_FORCE_PATH_STYLE=
2024-05-02 03:12:40 +01:00
# Azure Blob Storage driver config
AZURE_STORAGE_ACCOUNT_NAME=
AZURE_STORAGE_ACCOUNT_KEY=
AZURE_STORAGE_CONTAINER=
# 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
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-03-23 13:14:20 +00:00
DRAWIO_URL=
2026-04-14 16:26:54 +01:00
# Gotenberg URL for server-side PDF export
GOTENBERG_URL=
2025-08-06 18:16:30 +01:00
DISABLE_TELEMETRY=false
2026-05-18 22:02:31 +01:00
# Allow other sites to embed Docmost in an iframe.
IFRAME_EMBED_ALLOWED=false
# Only used when IFRAME_EMBED_ALLOWED=true. When empty, any origin is allowed.
# Example: https://intranet.example.com,https://portal.example.com
IFRAME_ALLOWED_ORIGINS=
2025-08-06 18:16:30 +01:00
# Enable debug logging in production (default: false)
2026-01-21 01:23:50 +00:00
DEBUG_MODE=false
# Log database queries
DEBUG_DB=false
# Log http requests
LOG_HTTP=false