-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
90 lines (66 loc) · 2.17 KB
/
.env.example
File metadata and controls
90 lines (66 loc) · 2.17 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# --------------------------------------------------
# Core application settings
# --------------------------------------------------
# --------------------------------------------------
# Database (MySQL)
# --------------------------------------------------
DATABASE_NAME=wordpress
DATABASE_USER=wp_user
DATABASE_PASSWORD=wp_password
DATABASE_ROOT_PASSWORD=root_password
# --------------------------------------------------
# Web / Nginx
# --------------------------------------------------
# Public server name (domain or hostname)
SERVER_NAME=localhost
# --------------------------------------------------
# WordPress initialization (wp-init)
# --------------------------------------------------
# Skip WordPress initialization tasks (true/false)
SKIP_WP_INIT=false
# Final site URL used by WordPress
# In production this should be: https://<SERVER_NAME>
SITE_URL=http://${SERVER_NAME}:${HTTP_PORT:-8000}
# Columns to skip during WP-CLI search-replace
# Comma-separated, no spaces (e.g. guid,post_content)
SKIP_COLUMNS=guid
# --------------------------------------------------
# Database backup service (db-backup)
# --------------------------------------------------
# Skip automated database backups (true/false)
SKIP_DB_BACKUP=false
# Maximum number of backup files to keep
DATABASE_BACKUP_MAX_FILES=3
# Delay before first backup (s/m/h/d)
DATABASE_BACKUP_INITIAL_DELAY=60s
# Interval between backups (s/m/h/d)
DATABASE_BACKUP_INTERVAL=3600s
# --------------------------------------------------
# Development only (docker-compose.dev.yml)
# --------------------------------------------------
# HTTP port exposed by Nginx
HTTP_PORT=8000
# phpMyAdmin exposed port
PHPMYADMIN_PORT=8001
# --------------------------------------------------
# Production only (docker-compose.prod.yml)
# --------------------------------------------------
# Maximum size of a single container log file
LOG_SIZE=10m
# Number of rotated log files to keep
LOG_FILES=3
# Database
DB_CPUS=1.0
DB_MEM_LIMIT=1024M
# WordPress
WP_CPUS=1.0
WP_MEM_LIMIT=512M
# Nginx
NGINX_CPUS=0.5
NGINX_MEM_LIMIT=128M
# wp-init (one-shot container)
WP_INIT_CPUS=0.5
WP_INIT_MEM_LIMIT=128M
# db-backup
DB_BACKUP_CPUS=0.5
DB_BACKUP_MEM_LIMIT=256M