mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
Implementation of a universal upload allowing for multiple storage backends starting with `database` and `s3`. Allows clients to put and retrieve files from either client or server using a blend of client and server actions.
82 lines
3.4 KiB
Plaintext
82 lines
3.4 KiB
Plaintext
# [[AUTH]]
|
|
NEXTAUTH_URL="http://localhost:3000"
|
|
NEXTAUTH_SECRET="secret"
|
|
|
|
# [[AUTH OPTIONAL]]
|
|
NEXT_PRIVATE_GOOGLE_CLIENT_ID=""
|
|
NEXT_PRIVATE_GOOGLE_CLIENT_SECRET=""
|
|
|
|
# [[APP]]
|
|
NEXT_PUBLIC_SITE_URL="http://localhost:3000"
|
|
NEXT_PUBLIC_APP_URL="http://localhost:3000"
|
|
|
|
# [[DATABASE]]
|
|
NEXT_PRIVATE_DATABASE_URL="postgres://documenso:password@127.0.0.1:54320/documenso"
|
|
# Defines the URL to use for the database when running migrations and other commands that won't work with a connection pool.
|
|
NEXT_PRIVATE_DIRECT_DATABASE_URL="postgres://documenso:password@127.0.0.1:54320/documenso"
|
|
|
|
# [[STORAGE]]
|
|
# OPTIONAL: Defines the storage transport to use. Available options: database (default) | s3
|
|
NEXT_PUBLIC_UPLOAD_TRANSPORT="database"
|
|
# OPTIONAL: Defines the endpoint to use for the S3 storage transport. Relevant when using third-party S3-compatible providers.
|
|
NEXT_PRIVATE_UPLOAD_ENDPOINT=
|
|
# OPTIONAL: Defines the region to use for the S3 storage transport. Defaults to us-east-1.
|
|
NEXT_PRIVATE_UPLOAD_REGION=
|
|
# REQUIRED: Defines the bucket to use for the S3 storage transport.
|
|
NEXT_PRIVATE_UPLOAD_BUCKET=
|
|
# OPTIONAL: Defines the access key ID to use for the S3 storage transport.
|
|
NEXT_PRIVATE_UPLOAD_ACCESS_KEY_ID=
|
|
# OPTIONAL: Defines the secret access key to use for the S3 storage transport.
|
|
NEXT_PRIVATE_UPLOAD_SECRET_ACCESS_KEY=
|
|
|
|
# [[SMTP]]
|
|
# OPTIONAL: Defines the transport to use for sending emails. Available options: smtp-auth (default) | smtp-api | mailchannels
|
|
NEXT_PRIVATE_SMTP_TRANSPORT="smtp-auth"
|
|
# OPTIONAL: Defines the host to use for sending emails.
|
|
NEXT_PRIVATE_SMTP_HOST="127.0.0.1"
|
|
# OPTIONAL: Defines the port to use for sending emails.
|
|
NEXT_PRIVATE_SMTP_PORT=2500
|
|
# OPTIONAL: Defines the username to use with the SMTP server.
|
|
NEXT_PRIVATE_SMTP_USERNAME="documenso"
|
|
# OPTIONAL: Defines the password to use with the SMTP server.
|
|
NEXT_PRIVATE_SMTP_PASSWORD="password"
|
|
# OPTIONAL: Defines the API key user to use with the SMTP server.
|
|
NEXT_PRIVATE_SMTP_APIKEY_USER=
|
|
# OPTIONAL: Defines the API key to use with the SMTP server.
|
|
NEXT_PRIVATE_SMTP_APIKEY=
|
|
# OPTIONAL: Defines whether to force the use of TLS.
|
|
NEXT_PRIVATE_SMTP_SECURE=
|
|
# REQUIRED: Defines the sender name to use for the from address.
|
|
NEXT_PRIVATE_SMTP_FROM_NAME="No Reply @ Documenso"
|
|
# REQUIRED: Defines the email address to use as the from address.
|
|
NEXT_PRIVATE_SMTP_FROM_ADDRESS="noreply@documenso.com"
|
|
# OPTIONAL: The API key to use for the MailChannels proxy endpoint.
|
|
NEXT_PRIVATE_MAILCHANNELS_API_KEY=
|
|
# OPTIONAL: The endpoint to use for the MailChannels API if using a proxy.
|
|
NEXT_PRIVATE_MAILCHANNELS_ENDPOINT=
|
|
# OPTIONAL: The domain to use for DKIM signing.
|
|
NEXT_PRIVATE_MAILCHANNELS_DKIM_DOMAIN=
|
|
# OPTIONAL: The selector to use for DKIM signing.
|
|
NEXT_PRIVATE_MAILCHANNELS_DKIM_SELECTOR=
|
|
# OPTIONAL: The private key to use for DKIM signing.
|
|
NEXT_PRIVATE_MAILCHANNELS_DKIM_PRIVATE_KEY=
|
|
|
|
# [[STRIPE]]
|
|
NEXT_PRIVATE_STRIPE_API_KEY=
|
|
NEXT_PRIVATE_STRIPE_WEBHOOK_SECRET=
|
|
NEXT_PUBLIC_STRIPE_COMMUNITY_PLAN_MONTHLY_PRICE_ID=
|
|
NEXT_PUBLIC_STRIPE_COMMUNITY_PLAN_YEARLY_PRICE_ID=
|
|
|
|
# [[FEATURES]]
|
|
# OPTIONAL: Leave blank to disable PostHog and feature flags.
|
|
NEXT_PUBLIC_POSTHOG_KEY=""
|
|
# OPTIONAL: Defines the host to use for PostHog.
|
|
NEXT_PUBLIC_POSTHOG_HOST="https://eu.posthog.com"
|
|
# OPTIONAL: Leave blank to disable billing.
|
|
NEXT_PUBLIC_FEATURE_BILLING_ENABLED=
|
|
|
|
# This is only required for the marketing site
|
|
# [[REDIS]]
|
|
NEXT_PRIVATE_REDIS_URL=
|
|
NEXT_PRIVATE_REDIS_TOKEN=
|