-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
36 lines (30 loc) · 1.15 KB
/
Copy pathexample.env
File metadata and controls
36 lines (30 loc) · 1.15 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
# Server Configuration
# APP_MODE: 'development' or 'production' (production enforces HTTPS)
APP_MODE=development
HOST=127.0.0.1
PORT=8080
LOG_LEVEL=info
# TLS/HTTPS Configuration (required in production unless ALLOW_INSECURE_SERVER=true)
TLS_CERT_FILE=
TLS_KEY_FILE=
# Security Overrides (use with caution in production)
ALLOW_INSECURE_SERVER=false
ALLOW_INSECURE_EXTERNAL=false
# Database Configuration
SQLITE_DB_PATH=./data/authy.db
# NOTE: Database encryption is enabled by default for security
# Set to 'true' to disable SQLCipher encryption (not recommended for production)
DISABLE_DB_ENCRYPTION=false
# Migration Settings
# WARNING: Set to 'false' in production, run migrations manually with 'make migrate-up'
AUTO_MIGRATE=true
# Cryptographic Keys (auto-generated by 'make setup')
# IMPORTANT: Do not change these after initial setup - will invalidate existing data
# Generate with: openssl rand -hex 32 (required when DISABLE_DB_ENCRYPTION=false)
DB_ENCRYPTION_KEY=
# External Services
# Interface API Configuration
# URL of the Interface API service
INTERFACE_API_URL=http://localhost:8080
# Token for authenticating with Interface API
INTERFACE_API_TOKEN=