commands / demyx config
No results for ""
demyx config
Usage
demyx config <app> <args>
demyx config all <args>Description
The main configuration command for tuning every aspect of a WordPress app. Changes are applied by regenerating the app's compose.yml and .env files and recreating containers.
Arguments
| Flag | Description |
|---|---|
all | Apply config to all apps |
-f | Skip confirmation prompt |
--auth | Enable/disable basic authentication |
--auth-wp | Enable/disable basic auth for WordPress login only |
--backup=<true|false> | Enable/disable automated backups for this app |
--bedrock=<production|development> | Set Bedrock app mode |
--cache=<true|false|default|rocket> | Enable cache. Supports WP Rocket with rocket (nginx-php only) |
--clean | Export/import DB with new credentials, force-download WP core, refresh salts |
--convert | Convert container and volume names to new format |
--db-cpu=<value> | Set DB container CPU limit (0 to remove) |
--db-mem=<value> | Set DB container memory limit (0 to remove) |
--dev | Enable/disable code-server (VS Code in browser) |
--healthcheck | Enable/disable healthcheck for this app |
--maintenance | Enable/disable WordPress maintenance mode |
--no-compose | Skip docker compose up -d after config change |
--opcache | Enable/disable PHP OPcache |
--php=<8.3|8.4> | Switch PHP/LSPHP version |
--php-max-requests=<n> | Set PHP-FPM max requests per child |
--pm=<ondemand|dynamic|static> | Set PHP-FPM process manager mode |
--pma | Enable/disable phpMyAdmin |
--rate-limit | Enable/disable Nginx rate limiting for /wp-login.php and /wp-cron.php |
--redis | Enable/disable Redis and configure the appropriate plugin |
--sftp | Enable/disable SFTP (auto-assigns port starting from 2222) |
--ssl | Enable/disable SSL. Runs WP search-replace for http↔https |
--ssl-wildcard | Enable/disable wildcard SSL via Cloudflare |
--stack=<bedrock|nginx-php|ols|ols-bedrock> | Switch stack |
--whitelist=<all|login> | Enable IP whitelisting for all traffic or just WP login |
--wp-cpu=<value> | Set WP container CPU limit |
--wp-mem=<value> | Set WP container memory limit |
--wp-update | Enable/disable WP auto-update (core, plugins, themes) via WP-CLI |
--www | Enable/disable www subdomain |
--xmlrpc | Enable/disable /xmlrpc.php (returns 404 when disabled) |
Examples
# Enable SSL
demyx config domain.tld --ssl=true
# Switch to PHP 8.4
demyx config domain.tld --php=8.4
# Enable Redis cache
demyx config domain.tld --redis=true
# Switch from nginx-php to OpenLiteSpeed
demyx config domain.tld --stack=ols
# Set resource limits
demyx config domain.tld --wp-cpu=.50 --wp-mem=512m
# Enable SFTP
demyx config domain.tld --sftp=true
# Enable maintenance mode
demyx config domain.tld --maintenance=true
# Configure PHP-FPM process manager
demyx config domain.tld --pm=ondemand
# Enable basic auth on WP login only
demyx config domain.tld --auth-wp=trueRelated
demyx refresh— regenerate config files without applying changesdemyx info— view current app configuration