2026-10-15 23:08:47 -06:00
|
|
|
# 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
|
2026-10-19 08:11:06 -06:00
|
|
|
# deploy/env/test.env.example -> ~/packetstation/test/stack.env (docker-1, Gitea issue 38)
|
2026-10-15 23:08:47 -06:00
|
|
|
# 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.
|
2026-10-16 14:45:38 -06:00
|
|
|
#
|
|
|
|
|
# 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.
|
2026-10-16 17:13:31 -06:00
|
|
|
#
|
|
|
|
|
# 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
|