-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
55 lines (48 loc) · 1.48 KB
/
Copy path.env.example
File metadata and controls
55 lines (48 loc) · 1.48 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
# ==========================================
# Credentials (required)
# ==========================================
SERVICE_USER_WORDPRESS=wordpress
SERVICE_PASSWORD_WORDPRESS=changeme
SERVICE_PASSWORD_ROOT=changeme
SERVICE_PASSWORD_REDIS=changeme
# ==========================================
# Operational flags
# ==========================================
FLUSH_REDIS_ON_STARTUP=false
DISABLE_WP_CRON=false
# ==========================================
# Resource limits — WordPress
# ==========================================
WP_CPU_LIMIT=2.0
WP_MEMORY_LIMIT=1536M
WP_CPU_RESERVATION=0.5
WP_MEMORY_RESERVATION=384M
# ==========================================
# Resource limits — MariaDB
# ==========================================
DB_CPU_LIMIT=1.0
DB_MEMORY_LIMIT=1024M
DB_CPU_RESERVATION=0.25
DB_MEMORY_RESERVATION=256M
# ==========================================
# Resource limits — Redis
# ==========================================
REDIS_CPU_LIMIT=0.5
REDIS_MEMORY_LIMIT=2048M
# ==========================================
# MariaDB tuning
# ==========================================
DB_INNODB_BUFFER_POOL=512M
DB_MAX_CONNECTIONS=500
DB_MAX_ALLOWED_PACKET=64M
DB_SLOW_QUERY_TIME=2
DB_WAIT_TIMEOUT=300
# ==========================================
# Redis tuning
# ==========================================
REDIS_MAX_MEMORY_POLICY=allkeys-lru
# ==========================================
# Logging (all services)
# ==========================================
LOG_MAX_SIZE=10m
LOG_MAX_FILES=3