Set a config value
SYNOPSIS
ee config set <key> <value>
OPTIONS
<key>
: Key of config to set
<value>
: Value of config to set
The keys EasyEngine reads:
| Key | Used for | Default |
|---|---|---|
le-mail |
Email for Let’s Encrypt registration. With Cloudflare DNS validation it must be the Cloudflare account email. | asked on first use |
wp-mail |
Default admin email for new WordPress sites. | – |
locale |
WordPress locale for new sites. | en_US |
env |
Server environment label. ee site sync refuses to write to a server whose env is production. |
– |
sysctl |
Add sysctl settings to site compose files. | false |
cloudflare-api-key |
Cloudflare Global API Key for DNS-01 (wildcard) Let’s Encrypt certificates and their renewal. Scoped API tokens aren’t supported. | – |
preferred_ssl_challenge |
dns to use DNS-01 for non-wildcard certificates too. |
HTTP-01 |
ssl-policy |
TLS policy of the global nginx-proxy: Mozilla-Modern, Mozilla-Intermediate, Mozilla-Old or an AWS-* policy. |
Mozilla-Modern |
rclone-path |
rclone remote and path for ee site backup. |
easyengine:easyengine |
no-of-backups |
Backups kept per site on the remote. Use a whole number of 1 or more. | 7 |
EXAMPLES
# Save value in config
$ ee config set le-mail abc@example.com
# Set the rclone remote and path for site backups
$ ee config set rclone-path easyengine:backups/server1
SUBCOMMANDS
| Name | Description |
|---|---|
| ee config get | Gets a config value. |
GLOBAL PARAMETERS
--sites_path=<path>
Absolute path to where all sites will be stored.
--locale=<locale>
Locale for WordPress.
--le-mail=<le-mail>
Mail-id to be used for letsencrypt.
--env=<env>
EasyEngine server environment.
--wp-mail=<wp-mail>
Default Mail-id to be used for WordPress site installation.
--sysctl=<true/false>
Whether to add sysctl config in docker-compose.
--skip-tty=<true/false>
Skip tty allocation for remote command execution.
--custom-compose=<custom-compose file>
Path to custom compose file.
--[no-]color
Whether to colorize the output.
--debug[=<group>]
Show all PHP errors; add verbosity to EE bootstrap.
--quiet
Suppress informational messages.