-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
65 lines (55 loc) · 2.46 KB
/
Copy path.env.example
File metadata and controls
65 lines (55 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# --- DraftLedger configuration ---------------------------------------------
APP_BASE_URL=http://localhost:3000
DOCUMENT_NAMESPACE=ORG-RFC
# Brand name, organization name and the bug report URL are also editable from
# Admin > Settings. Setting one here makes it authoritative: the admin screen
# shows that field as managed by the environment and refuses edits to it, so a
# value you pin in config can never be silently overridden from the UI. Leave
# them commented out to manage them in the application instead.
# APP_BRAND_NAME=Standards Vault
# APP_ORG_NAME=Example Organization
# --- Database ---------------------------------------------------------------
DATABASE_URL=postgresql://draftledger:draftledger@localhost:5432/draftledger
# --- Artifact storage -------------------------------------------------------
# local | s3
ARTIFACT_STORAGE=local
ARTIFACT_DIR=/data/artifacts
# S3-compatible adapter (only read when ARTIFACT_STORAGE=s3)
S3_ENDPOINT=
S3_BUCKET=
S3_REGION=
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
# --- Sessions / secrets -----------------------------------------------------
# Generate with: openssl rand -hex 32
SESSION_SECRET=change-me-please-0000000000000000000000000000000000000000000000
ADMIN_SYNC_TOKEN=change-me-too
# --- Optional external import adapter (OFF by default) ----------------------
EXTERNAL_IMPORT_ENABLED=false
# disabled | on-demand | mirror
SYNC_MODE=disabled
SYNC_SCHEDULE=0 */6 * * *
UPSTREAM_DATATRACKER_BASE=https://datatracker.ietf.org
UPSTREAM_RFC_EDITOR_BASE=https://www.rfc-editor.org
UPSTREAM_FETCH_TIMEOUT_MS=15000
UPSTREAM_MAX_BYTES=8388608
# --- Reader / product links -------------------------------------------------
# BUG_REPORT_URL=https://example.invalid/draftledger/issues
# AGPL-3.0 section 13: network users must be able to obtain the source of the
# version you are running. If you modified DraftLedger, point this at YOUR fork.
APP_SOURCE_URL=https://github.com/bkoroglu1/draftledger
EXTERNAL_ADAPTER_DISCLAIMER=This installation is not operated by or affiliated with the IETF.
# --- Worker -----------------------------------------------------------------
WORKER_CONCURRENCY=2
WORKER_POLL_INTERVAL_MS=1000
# Email. With no SMTP_HOST/SMTP_FROM nothing is sent: notification deliveries are
# recorded as skipped, and invite/reset links can only be copied from the admin UI.
SMTP_HOST=
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=
# Credential link lifetimes, in seconds.
INVITE_TTL_SECONDS=604800
RESET_TTL_SECONDS=3600