Files
security-command.org/deploy/env.example
T

30 lines
973 B
Plaintext

# Absolute host path of the homepage content. Sandboxes and the backend only
# read it; jobs may write into it.
CONTENT_DIR=
# Public address of the site, used by the sitemap.
SITE_URL=https://security-command.org
# Legal pages as route:file pairs; the files live in the content directory.
LEGAL_PAGES=impressum:impressum.txt,datenschutz:datenschutz.txt
# Container registry of the SecurityCommand organization.
REGISTRY=git.security-command.org/securitycommand
# Local port nginx proxies to. It must match the port in deploy/nginx.
BACKEND_PORT=8380
# Comma separated origins allowed to open terminal sessions.
ALLOWED_ORIGINS=https://security-command.org
# Local port of the Prometheus metrics, published to loopback only.
METRICS_PORT=9380
# Session limits.
MAX_SESSIONS=12
MAX_QUEUE=20
# Leading zero bits of SHA-256 a new sandbox costs while the server is mostly
# idle. Each extra bit doubles the work; 20 takes about a second on a desktop.
POW_DIFFICULTY=20