# 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' `. # 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