forked from joglomedia/LEMPer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.dist
213 lines (164 loc) · 4.92 KB
/
.env.dist
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# Environment variables for LEMPer
# Do not remove this file!
#
[lemper]
# LEMP stack environment.
# Use development for local environment and production for live environment.
ENVIRONMENT="production"
# Installer version.
LEMPER_VERSION="1.3.0"
# Default account username.
LEMPER_USERNAME="lemper"
# Password for default lemper account,
# leave it blank for auto generated secure password.
LEMPER_PASSWORD=""
# Administration email. Change it! don't leave it blank!
ADMIN_EMAIL="[email protected]"
# Server IP address, leave it blank for auto detection.
SERVER_IP=""
# Default Timezone, leave it blank to use default UTC timezone
# or "none" for current server setting.
# Ref: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# Example: Asia/Jakarta
TIMEZONE="UTC"
# Auto install, true for auto installation,
# false for manual or guided installation.
AUTO_INSTALL=true
# Cleanup existing LEMP / LAMP stack installation.
AUTO_REMOVE=false
FORCE_REMOVE=false
# Dry run install, true for testing only.
DRYRUN=false
# Build directorty.
BUILD_DIR="/usr/local/src/lemper"
# Logging for installation process.
LOGGING=true
[ssh]
# Customized SSH port.
SSH_PORT=2269
# Allow SSH root login (value: true | false).
SSH_ROOT_LOGIN=true
# Password-less SSH, login with key (value: true | false).
SSH_PASSWORDLESS=false
# Your RSA Public key.
RSA_PUB_KEY="copy your ssh public rsa key here"
# Hash length (bits), supported value 2048 | 4096 (take too long times)
# length of bits used for generating RSA key / Diffie-Helman params.
HASH_LENGTH=2048
[nginx]
INSTALL_NGINX=true
NGINX_INSTALLER="source"
# Supported Nginx version: stable (lts) | latest (mainline)
NGINX_VERSION="stable"
# Available custom SSL version: openssl-1.1.1c | libressl-3.0.0
# leave empty to use stack default OpenSSL.
NGINX_CUSTOMSSL_VERSION=""
# Extra parameters,
# requires Nginx installation from source.
NGINX_DYNAMIC_MODULE=true
NGINX_EXTRA_MODULES=true
# Availabe extra modules (true to enable),
# requires Nginx installation from source.
NGX_HTTP_AUTH_PAM=false
NGX_HTTP_BROTLI=true
NGX_HTTP_CACHE_PURGE=true
NGX_HTTP_ECHO=false
NGX_HTTP_FANCYINDEX=true
NGX_HTTP_GEOIP=false
NGX_HTTP_GEOIP2=false
NGX_HTTP_HEADERS_MORE=true
NGX_HTTP_IMAGE_FILTER=false
NGX_HTTP_MEMCACHED=false
NGX_HTTP_NAXSI=true
NGX_HTTP_PASSENGER=false
NGX_HTTP_REDIS2=false
NGX_HTTP_SUBS_FILTER=false
NGX_HTTP_VTS=true
NGX_HTTP_XSLT_FILTER=false
NGX_MAIL=true
NGX_NCHAN=false
NGX_PAGESPEED=true
NGX_RTMP=false
NGX_STREAM=true
NGX_UPSTREAM_FAIR=false
NGX_WEB_DAV_EXT=false
[php-fpm]
INSTALL_PHPFPM=true
# Default PHP version, it is highly recommended to install PHP version 7.3 or greater.
PHP_VERSION="7.3"
# PHP Loader is a PHP extension (module) that enables PHP
# to load protected and encoded files.
# Available PHP loader: ioncube | sourceguardian
# leave it blank or "none" to skip PHP loader installation.
PHP_LOADER=""
[php-imagemagick]
# ImageMagick is a free and open-source software suite for manipulating raster and vector image.
# Available ImageMagick & PHP module installer: repo | source
# leave it blank or "none" to skip PHP ImageMagick installation.
PHP_IMAGEMAGICK_INSTALLER="repo"
# Available ImageMagick version: 6.9.10-62 | 7.0.8-62 | latest
PHP_IMAGEMAGICK_VERSION="7.0.8-62"
[php-phalcon]
# Phalcon is a PHP web framework based on the MVC pattern delivered as C-extension.
# Available Phalcon installer: repo | source
# leave it blank or "none" to skip Phalcon installation.
PHP_PHALCON_INSTALLER="repo"
# Available Phalcon version: 3.4.5 | latest
PHP_PHALCON_VERSION="3.4.5"
# Phalcon zephir transpiler.
PHP_PHALCON_ZEPHIR=false
[php-composer]
INSTALL_PHPCOMPOSER=true
[mysql]
INSTALL_MYSQL=true
MYSQL_SERVER="mariadb"
MYSQL_VERSION="10.4"
# Leave it blank for auto generated secure password.
MYSQL_ROOT_PASS=""
# MariaDB backup user.
MARIABACKUP_USER="lemperdb"
# Leave it blank for auto generated secure password.
MARIABACKUP_PASS=""
[memcached]
INSTALL_MEMCACHED=true
MEMCACHED_INSTALLER="repo"
# Available version: 1.5.17 | latest.
MEMCACHED_VERSION="latest"
# Enable SASL authentication.
MEMCACHED_SASL=false
MEMCACHED_USERNAME=""
MEMCACHED_PASSWORD=""
[mongodb]
INSTALL_MONGODB=false
MONGODB_VERSION="4.2"
# MongoDB default admin account.
MONGODB_ADMIN_USER="lemperdb"
MONGODB_ADMIN_PASS=""
[redis]
INSTALL_REDIS=true
REDIS_INSTALLER="repo"
REDIS_VERSION="stable"
# Enable pass authentication.
REDIS_REQUIREPASS=false
REDIS_PASSWORD=""
[dns]
# TODO: Install DNS server.
[mailer]
# Install basic Mailer based on Postfix & Dovecot.
INSTALL_MAILER=true
INSTALL_SPFDKIM=true
# Sender domain is required, default sets to hostname.
# Ensure that the hostname/sender domain already pointed to this server IP address.
SENDER_DOMAIN="example.com"
[certbot]
INSTALL_CERTBOT=true
[firewall]
INSTALL_FW=true
# Firewall configurator engine
# available engine: ufw | csf | apf
# UFW is default Ubuntu firewall configurator.
FW_ENGINE="ufw"
[fail2ban]
INSTALL_FAIL2BAN=true
FAIL2BAN_INSTALLER="repo"
FAIL2BAN_VERSION="0.10.4"