sightbox/.env.example

38 lines
1.9 KiB
Plaintext

# Copy to .env — never commit the real file.
# Read by docker-compose.yml / docker-compose.data-dir.yml directly (not by
# any application code) — this is Compose's own variable substitution.
# Local dev only (Apple Silicon Macs): overrides the platform the Frappe
# images run as, so they don't run under x86_64 emulation. Leave unset on
# the real (x86_64) production host.
# FRAPPE_IMAGE_PLATFORM=linux/arm64
# Host port backend-billing's HTTP API is published on.
# BILLING_PUBLISH_PORT=8001
# Host port the BettersightBox marketing page (nginx, serving
# bettersightbox-index.html) is published on.
# MARKETING_PUBLISH_PORT=8091
# Production only — do NOT set this for local dev (see docker-compose.yml's
# own volumes: comment and playbook/BACKUP_RESTORE.md for why). Required
# when layering docker-compose.data-dir.yml on top of the base file:
# SIGHTBOX_DATA_DIR=/opt/sightbox/data
# Optional: points every Frappe-image service (backend, frontend, queue-*,
# scheduler, websocket, configurator — all share this via frappe_docker's
# own customizable_image anchor in compose.yaml) at a locally-built image
# instead of the stock frappe/erpnext one. Used for the ERPNext branding
# patch (erpnext-image/ — see erpnext-image/Dockerfile and build.sh) that
# removes "ERPNext" text/logo from spots Website Settings can't reach.
# Leave both unset to run the stock image untouched. If you do set them:
# frappe_docker's compose.yaml defaults this image to pull_policy: always
# (right for an image actually pushed to a registry) — a locally-built
# image via erpnext-image/build.sh was never pushed anywhere, so pulling
# it fails outright. Add PULL_POLICY=never below whenever CUSTOM_IMAGE is
# set to a local build; omit it (or leave unset) if you push this image to
# a real registry instead, e.g. for a multi-host production setup.
# CUSTOM_IMAGE=sightbox-erpnext
# CUSTOM_TAG=v16.34.1-branded
# PULL_POLICY=never