forked from postalsys/emailengine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.development
More file actions
49 lines (36 loc) · 1.51 KB
/
.env.development
File metadata and controls
49 lines (36 loc) · 1.51 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
# EmailEngine Development Environment Configuration
# This file contains default settings for local development
# ===========================================
# BASIC CONFIGURATION
# ===========================================
# Encryption secret (use default for development)
EENGINE_SECRET=default-dev-secret-change-in-production
# Redis connection (no password for development)
EENGINE_REDIS=redis://redis:6379/2
# Number of worker processes (lower for development)
EENGINE_WORKERS=2
# EmailEngine settings for development
EENGINE_SETTINGS={"smtpServerEnabled": true, "smtpServerPort": 2525, "smtpServerHost": "0.0.0.0", "smtpServerAuthEnabled": true, "smtpServerPassword": "devpassword"}
# ===========================================
# SERVICE EXPOSURE
# ===========================================
# Bind to all interfaces for development
EMAILENGINE_API_BIND=0.0.0.0
EMAILENGINE_SMTP_BIND=0.0.0.0
EMAILENGINE_IMAP_BIND=0.0.0.0
# ===========================================
# REDIS CONFIGURATION
# ===========================================
# Redis is used as a database, not a cache
# No memory limit is set for development
# Eviction policy is set to 'noeviction' to prevent data loss
# ===========================================
# LOGGING
# ===========================================
EENGINE_LOG_LEVEL=debug
REDIS_LOG_LEVEL=notice
# ===========================================
# HEALTH CHECKS (RELAXED FOR DEVELOPMENT)
# ===========================================
REDIS_HEALTHCHECK=service_started
HEALTHCHECK_INTERVAL=60s