-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
42 lines (35 loc) · 1008 Bytes
/
.env.example
File metadata and controls
42 lines (35 loc) · 1008 Bytes
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
# Docker Web Stack Environment Configuration
# Timezone
TIMEZONE=Asia/Kuala_Lumpur
# Web Server Ports
HTTP_PORT=80
HTTPS_PORT=443
# Database Configuration (Master)
DB_ROOT_PASSWORD=12345
DB_NAME=webstack
DB_USER=webstack
DB_PASSWORD=webstack123
# Database Replication Configuration
DB_REPLICATION_USER=replicator
DB_REPLICATION_PASSWORD=repl123
# Database Performance Tuning (Master)
DB_INNODB_BUFFER_POOL_SIZE=512M
DB_INNODB_LOG_FILE_SIZE=128M
DB_INNODB_FLUSH_LOG_AT_TRX_COMMIT=2
DB_MAX_CONNECTIONS=200
DB_QUERY_CACHE_SIZE=128M
DB_QUERY_CACHE_TYPE=1
DB_THREAD_CACHE_SIZE=16
DB_TABLE_OPEN_CACHE=2000
DB_SORT_BUFFER_SIZE=2M
DB_READ_BUFFER_SIZE=128K
DB_READ_RND_BUFFER_SIZE=256K
DB_KEY_BUFFER_SIZE=128M
# Database Performance Tuning (Slave)
DB_SLAVE_INNODB_BUFFER_POOL_SIZE=256M
DB_SLAVE_MAX_CONNECTIONS=100
# Security
# Change these passwords in production!
# DB_ROOT_PASSWORD=your_secure_root_password
# DB_PASSWORD=your_secure_user_password
# DB_REPLICATION_PASSWORD=your_secure_replication_password