Files
LEMPer/.env
2019-08-24 17:15:12 +07:00

138 lines
2.7 KiB
Bash

# Environment variables for LEMPer
# Do not remove this file!
#
[lemper]
# Server IP address, leave blank for auto detection.
IP_SERVER=""
# Default account username.
LEMPER_USERNAME="lemper"
# Password for default lemper account,
# leave blank for auto generated secure password.
LEMPER_PASSWORD=""
# Administration email.
ADMIN_EMAIL="eslabs.id@gmail.com"
# Auto install, true for auto installation,
# false for manual or guided installation.
AUTO_INSTALL=true
# Cleanup existing LEMP / LAMP 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=true
# Your RSA Public key.
RSA_PUB_KEY="copy your ssh public rsa key here"
# Hash length (bits), supported value 2048 | 4096
# length of bits used for generating RSA key / Diffie-Helman params.
HASH_LENGTH=2048
[firewall]
# Install iptables-based firewall (value: true | false).
INSTALL_FW=true
# Firewall configurator engine
# available engine: ufw | csf | apf
# UFW is default Ubuntu firewall configurator.
FW_ENGINE="ufw"
[nginx]
INSTALL_NGINX=true
NGINX_INSTALLER="source"
NGINX_VERSION="stable"
# 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_BROTLI=true
NGX_CACHE_PURGE=true
NGX_ECHO=false
NGX_FANCYINDEX=true
NGX_HEADERS_MORE=true
NGX_HTTP_AUTH_PAM=false
NGX_HTTP_GEOIP2=false
NGX_HTTP_SUBS_FILTER=false
NGX_MEMCACHED=true
NGX_NAXSI=true
NGX_NCHAN=false
NGX_PAGESPEED=true
NGX_REDIS2=true
NGX_RTMP=false
NGX_UPSTREAM_FAIR=false
NGX_VTS=true
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 to skip PHP loader installation.
PHP_LOADER="ioncube"
PHP_IMAGEMAGICK=false
PHP_PHALCON_INSTALLER="repo"
[mysql]
INSTALL_MYSQL=true
MYSQL_SERVER="mariadb"
MYSQL_VERSION="10.4"
#MYSQL_ROOT_PASS=""
#MARIABACKUP_USER="lemperdb"
#MARIABACKUP_PASS=""
[memcached]
INSTALL_MEMCACHED=true
[redis]
INSTALL_REDIS=true
[mongodb]
INSTALL_MONGODB=false
MONGODB_VERSION="4.0"
[dns]
# TODO: Install DNS server.
[mailer]
INSTALL_MAILER=true
[decorator]
# Text colour decorator.
RED=31
GREEN=32
YELLOW=33