Files
InvoiceShelf/.env.example
T

65 lines
2.3 KiB
Bash

APP_ENV=production
APP_DEBUG=false
APP_KEY=base64:kgk/4DW1vEVy7aEvet5FPp5un6PIGe/so8H0mvoUtW0=
APP_NAME="InvoiceShelf"
APP_TIMEZONE=UTC
APP_URL=
APP_LOCALE=en
DB_CONNECTION=sqlite
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
SESSION_DOMAIN=null
SANCTUM_STATEFUL_DOMAIN=
TRUSTED_PROXIES="*"
# Dompdf: keep false so untrusted HTML in PDF notes cannot trigger outbound requests (SSRF).
# Set true only if you fully trust all PDF HTML and need remote images/CSS.
DOMPDF_ENABLE_REMOTE=false
# Page setup, applied by whichever driver renders. Sizes are a number plus a
# unit (pt, px, pc, mm, cm, in); margins may also be a bare 0. Margins default to
# nothing because the stock templates carry their own insets and the header band
# only reaches the paper edge at zero. Page numbers need a bottom margin to draw
# in. Normally set under Settings -> PDF Generation; these are the defaults
# before anything is saved.
# PDF_PAPER_WIDTH=210mm
# PDF_PAPER_HEIGHT=297mm
# PDF_ORIENTATION=portrait
# PDF_MARGIN_TOP=0
# PDF_MARGIN_RIGHT=0
# PDF_MARGIN_BOTTOM=0
# PDF_MARGIN_LEFT=0
#
# The report templates get their own margin on all four sides: unlike the
# document templates they carry no inset of their own, and reports can run to
# several pages, where only a page margin repeats.
# PDF_REPORT_MARGIN=1.2cm
# Gotenberg (optional alternative PDF driver; the default is dompdf).
# PDF_DRIVER=gotenberg
# GOTENBERG_HOST=http://pdf:3000
#
# Gotenberg is normally a sidecar on a private network, which the SSRF guard
# rejects. Name that one host to exempt it — and only it. Every other private
# target stays blocked, so the host cannot later be repointed at an internal
# service. Leave unset unless you actually run Gotenberg privately.
# GOTENBERG_ALLOWED_PRIVATE_HOST=http://pdf:3000
# InvoiceShelf marketplace and updater base URL.
# Defaults to https://invoiceshelf.com. Override to point at a local website
# checkout for development:
# INVOICESHELF_BASE_URL=http://invoiceshelf-website.test
# Secure module marketplace. The official Ed25519 public key is built in.
# Add rotation keys, or replace a key ID during an emergency rotation, with a
# JSON key-id to base64 public-key map.
# MARKETPLACE_PUBLIC_KEYS={"marketplace-2027":"base64-ed25519-public-key"}
# MARKETPLACE_CHANNEL=stable
# MARKETPLACE_MODULE_API_VERSION=1.0.0