-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.env.example
More file actions
56 lines (48 loc) · 2.34 KB
/
.env.example
File metadata and controls
56 lines (48 loc) · 2.34 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
# 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
# =============================================================================
# Smoke Tests (optional)
# =============================================================================
# Uncomment to enable API key auth bypass for smoke tests
# SMOKE_API_KEY=local-smoke-key