Skip to content
HomeKnowledge BaseStatisticsChangelog GitHub Discord Email
commands / demyx config

No results for ""

demyx config

Usage

bash
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

FlagDescription
allApply config to all apps
-fSkip confirmation prompt
--authEnable/disable basic authentication
--auth-wpEnable/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)
--cleanExport/import DB with new credentials, force-download WP core, refresh salts
--convertConvert 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)
--devEnable/disable code-server (VS Code in browser)
--healthcheckEnable/disable healthcheck for this app
--maintenanceEnable/disable WordPress maintenance mode
--no-composeSkip docker compose up -d after config change
--opcacheEnable/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
--pmaEnable/disable phpMyAdmin
--rate-limitEnable/disable Nginx rate limiting for /wp-login.php and /wp-cron.php
--redisEnable/disable Redis and configure the appropriate plugin
--sftpEnable/disable SFTP (auto-assigns port starting from 2222)
--sslEnable/disable SSL. Runs WP search-replace for http↔https
--ssl-wildcardEnable/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-updateEnable/disable WP auto-update (core, plugins, themes) via WP-CLI
--wwwEnable/disable www subdomain
--xmlrpcEnable/disable /xmlrpc.php (returns 404 when disabled)

Examples

bash
# 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=true
  • demyx refresh — regenerate config files without applying changes
  • demyx info — view current app configuration