Files

28 lines
1.8 KiB
Bash
Raw Permalink Normal View History

# Packet Station does not read a .env file at the repository root.
# Stack settings live in one env file per stack, outside the repo on docker-1:
# deploy/env/prod.env.example -> /etc/packetstation/prod/stack.env
# deploy/env/test.env.example -> ~/packetstation/test/stack.env (docker-1, Gitea issue 38)
# deploy/ci/ci.env -> CI and local end-to-end runs (committed, no secrets)
# Passwords and keys are never put in an env file. They are files in SECRETS_DIR,
# mounted as compose secrets. See docs/DEPLOY.md.
#
# Worker sources (phase 3). The defaults read VISUAL through VisualKit and M-Files through MFilesKit:
# FEED_SOURCE=visualkit visualkit | fixture
# DRAWING_SOURCE=mfiles mfiles | fixture
# FIXTURE_DIR=/fixtures where the fixture sources read feed.<N>.json, drawings.<N>.json and state
# fixture reads synthetic files from tests/fixtures/generator.py. STACK=prod refuses it.
#
# Uploads and storage (phase 4). See deploy/env/*.env.example for the comments:
# UPLOAD_MAX_BYTES=26214400 drawings, MTRs and documents (25 MB)
# UPLOAD_MAX_BYTES_BOM=5242880 BOM uploads, XLSX or CSV (5 MB)
# ASSETS_QUOTA_WARN_PCT=85 the storage alert threshold, percent
# ASSETS_QUOTA_BYTES=0 0 measures the assets volume
# CLAMAV_HOST= empty: no virus scan. Set it and start the stack with --profile clamav
# CLAMAV_PORT=3310
# CLAMAV_TIMEOUT_SECONDS=30
#
# Archive location (phase 10, Gitea issue 7). See docs/DEPLOY.md for the share:
# ARCHIVE_ROOT= empty: the archive is off. Set it to the mounted archive share, e.g. /archive.
# The Admin picks a folder under it (Admin, File locations); filed packets are
# copied there by the archive-copy job.