Files
PacketStation/.env.example
T
spencermandClaude Opus 5.5 77d40f6c05
ci / frontend (push) Successful in 44s
ci / server (push) Successful in 10m45s
ci / image (push) Successful in 33s
ci / e2e (push) Successful in 3m58s
docs: apply the closed Gitea decisions 3, 19, 20 and 38
- Issue 3 (Q4b): the registered-device cookie stays; no device certificate.
- Issue 19 (Q22): upload limits stay; ClamAV stays off in both stacks,
  the workstations run Microsoft Defender.
- Issue 20 (Q23): the storage alert stays at 85 percent; phase 9 mails
  it to PS-Admins.
- Issue 38 (OPS2): the test stack stays under ~/packetstation/test on
  docker-1. test.env.example, the compose header, README, CLAUDE.md,
  DEPLOY.md and SECURITY.md give that path and the actual modes. The
  production layout is asked on issue 38.

All four confirm the built defaults, so no code changed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 08:11:06 -06:00

23 lines
1.4 KiB
Bash

# 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