mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.7 KiB
38 lines
1.7 KiB
# Local DocuSeal dev env. Copy to `.env` (gitignored). Loaded by foreman.
|
|
|
|
# Port DocuSeal Puma binds to. Health Rails API runs on 3000, so use 3030.
|
|
PORT=3030
|
|
|
|
# Postgres dev DB. Create with: createdb docuseal_dev
|
|
DATABASE_URL=postgres:///docuseal_dev
|
|
|
|
# Allow framing from this origin (EHR dev URL). Drops X-Frame-Options and
|
|
# adds `Content-Security-Policy: frame-ancestors 'self' <origin>`.
|
|
# Vite serves HTTPS via mkcert locally, so use https://.
|
|
EMBED_ALLOWED_ORIGIN=https://localhost:4500
|
|
|
|
# Webpacker / shakapacker dev-server port (default 3035; left alone).
|
|
|
|
# Trust mkcert CA so DocuSeal can fetch uploaded PDFs from Rails over
|
|
# https://localhost:3000. Ruby OpenSSL ignores macOS keychain — set this
|
|
# to the mkcert root CA path (output of `mkcert -CAROOT`/rootCA.pem).
|
|
# SSL_CERT_FILE=/Users/you/Library/Application Support/mkcert/rootCA.pem
|
|
|
|
# Override host base URL used in generated links if needed.
|
|
# HOST=https://localhost:3030
|
|
|
|
# ── Boot-time seeding (config/initializers/env_seed.rb) ─────────────────
|
|
# When EMAIL + PASSWORD are both set, the admin account + API key +
|
|
# webhook target are upserted on every boot. Skips entirely if either
|
|
# is missing — leave them unset to provision through /setup by hand.
|
|
DOCUSEAL_ADMIN_EMAIL=admin@enwella.local
|
|
DOCUSEAL_ADMIN_PASSWORD=password123!
|
|
# Optional: pin the API key (otherwise an auto-generated token is kept).
|
|
# DOCUSEAL_API_KEY=
|
|
# Optional: register a webhook callback for the host EHR. Comma-list of
|
|
# events (defaults to form.completed,template.created).
|
|
# DOCUSEAL_WEBHOOK_URL=https://localhost:3000/webhooks/docuseal?token=
|
|
# DOCUSEAL_WEBHOOK_EVENTS=form.completed,template.created
|
|
# DOCUSEAL_ACCOUNT_NAME=DocuSeal
|
|
# DOCUSEAL_APP_URL=https://localhost:3030
|