mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
Add support for production container builds using the provided `Dockerfile` and `build.sh` script. This can later be used with actions to automatically publish to the provided docker registry. Additionally, support an accelerated developer quickstart using `docker-compose`. Developers can now run the `dx` npm command to quickly spin up a database and mail server.
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
# Database
|
|
# Option 1: You can use the provided remote test database, courtesy of the documenso team: postgres://documenso_test_user:GnmLG14u12sd9zHsd4vVWwP40WneFJMo@dpg-cf2hljh4reb5o45oqpq0-a.oregon-postgres.render.com/documenso_test_e2i3
|
|
# Option 2: Set up a local Postgres SQL instance (RECOMMENDED)
|
|
# Option 3: Use the provided dx setup (RECOMMENDED)
|
|
# => postgres://documenso:password@127.0.0.1:5432/documenso
|
|
#
|
|
# ⚠ WARNING: The test database can be resetted or taken offline at any point.
|
|
# ⚠ WARNING: Please be aware that nothing written to the test databae is private.
|
|
DATABASE_URL=''
|
|
|
|
# URL
|
|
NEXT_PUBLIC_WEBAPP_URL='http://localhost:3000'
|
|
|
|
# AUTH
|
|
# For more see here: https://next-auth.js.org
|
|
NEXTAUTH_SECRET='lorem ipsum sit dolor random string for encryption this could literally be anything'
|
|
NEXTAUTH_URL='http://localhost:3000'
|
|
|
|
# MAIL (NODEMAILER)
|
|
# SENDGRID
|
|
# Get a Sendgrid Api key here: https://signup.sendgrid.com
|
|
SENDGRID_API_KEY=''
|
|
|
|
# SMTP
|
|
# Set SMTP credentials to use SMTP instead of the Sendgrid API.
|
|
# If you're using the dx setup you can use the following values:
|
|
#
|
|
# SMTP_MAIL_HOST='127.0.0.1'
|
|
# SMTP_MAIL_PORT='2500'
|
|
# SMTP_MAIL_USER='documenso'
|
|
# SMTP_MAIL_PASSWORD='documenso'
|
|
SMTP_MAIL_HOST=''
|
|
SMTP_MAIL_PORT=''
|
|
SMTP_MAIL_USER=''
|
|
SMTP_MAIL_PASSWORD=''
|
|
|
|
# Sender for signing requests and completion mails.
|
|
MAIL_FROM='documenso@localhost.com'
|
|
|
|
#FEATURE FLAGS
|
|
# Allow users to register via the /signup page. Otherwise they will be redirect to the home page.
|
|
ALLOW_SIGNUP=true
|