-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.env.example
More file actions
76 lines (65 loc) · 3.18 KB
/
Copy path.env.example
File metadata and controls
76 lines (65 loc) · 3.18 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
66
67
68
69
70
71
72
73
74
75
# Eagle API - Local Development Environment Variables
# Copy this file to .env and adjust values as needed.
# .env is gitignored and never committed.
# =============================================================================
# MongoDB
# =============================================================================
# Use defaults below when running MongoDB via docker compose (yarn db:up)
MONGODB_SERVICE_HOST=localhost
MONGODB_DATABASE=epic
# Leave blank for unauthenticated local MongoDB (default docker-compose.yml setup)
MONGODB_USERNAME=
MONGODB_PASSWORD=
# =============================================================================
# Authentication
# =============================================================================
# Set KEYCLOAK_ENABLED=false for local development (no Keycloak required)
# The API will accept tokens signed with SECRET below instead
KEYCLOAK_ENABLED=false
SECRET=localdev
# Set KEYCLOAK_ENABLED=true to verify tokens against the dev Keycloak instance
# SSO_ISSUER=https://dev.loginproxy.gov.bc.ca/auth/realms/eao-epic
# SSO_JWKSURI=https://dev.loginproxy.gov.bc.ca/auth/realms/eao-epic/protocol/openid-connect/certs
# JWT expiry in minutes
JWT_SIGN_EXPIRY=1440
# =============================================================================
# File Uploads
# =============================================================================
# Directory for uploaded files (must be writable)
UPLOAD_DIRECTORY=./uploads/
# =============================================================================
# Object Storage (Minio / S3)
# =============================================================================
# Optional - only needed if testing document upload/download
# MINIO_HOST=
# MINIO_ACCESS_KEY=
# MINIO_SECRET_KEY=
# =============================================================================
# Virus Scanning (ClamAV)
# =============================================================================
# Optional - set ENABLE_VIRUS_SCANNING=true only if ClamAV is running locally
ENABLE_VIRUS_SCANNING=false
# CLAMAV_SERVICE_HOST=127.0.0.1
# CLAMAV_SERVICE_PORT=3310
# =============================================================================
# Typesense (Search)
# =============================================================================
# Used by eagle-api to proxy search requests from eagle-public.
# Matches the local Docker Compose service (yarn db:up).
TYPESENSE_HOST=localhost
TYPESENSE_PORT=8108
# Admin key — must match TYPESENSE_API_KEY in docker-compose.yml
TYPESENSE_API_KEY=local-dev-key
# Search-only key used by the proxy controller.
# For local dev, use the same value as TYPESENSE_API_KEY.
# In deployed envs this is a separate read-only key created by the init job.
TYPESENSE_SEARCH_KEY=local-dev-key
# =============================================================================
# Smoke Tests (optional)
# =============================================================================
# Uncomment to enable API key auth bypass for smoke tests
# SMOKE_API_KEY=local-smoke-key
# =============================================================================
# Telemetry
# =============================================================================
SCARF_ANALYTICS=false