Each WordPress app managed by Demyx has its own .env file stored in the Demyx container at /demyx/wp/<domain>/.env. You can view it with demyx info domain.tld or edit it with demyx edit domain.tld.
The host stack also has a .env file stored in the demyx Docker volume. View it with demyx host env or edit it with demyx host edit.
Most variables are managed automatically by demyx config and demyx refresh. Manual editing is rarely needed.
Host Identity
Variable
Description
DEMYX_AUTH_USERNAME
Default HTTP auth username for generated host services
DEMYX_AUTH_PASSWORD
Default HTTP auth password for generated host services
DEMYX_CF_KEY
Cloudflare API key used for wildcard SSL
DEMYX_CPU
Core service CPU limit, auto-calculated when unset
DEMYX_DOMAIN
Server's primary domain, used for Traefik and generated app defaults
DEMYX_EMAIL
Email used for Let's Encrypt certificates and default app admin email
DEMYX_HOSTNAME
Hostname displayed in system information
DEMYX_IP
Server IP used for whitelist-related config
DEMYX_MEM
Core service memory limit, auto-calculated when unset
DEMYX_MODE
Runtime mode (stable by default)
DEMYX_SERVER_IP
Detected public/server IP passed into the Demyx container
DEMYX_TELEMETRY
Enable daily telemetry ping (true/false)
DEMYX_TZ
Timezone used by the Demyx stack
Host Backups & Healthchecks
Variable
Description
DEMYX_BACKUP_ENABLE
Enable automated backups (true/false)
DEMYX_BACKUP_LIMIT
Number of daily backups to retain
DEMYX_HEALTHCHECK
Enable global healthchecks (true/false)
DEMYX_HEALTHCHECK_DISK
Path checked for disk usage
DEMYX_HEALTHCHECK_DISK_THRESHOLD
Disk usage percentage that triggers notifications
DEMYX_HEALTHCHECK_LOAD
Five-minute load average threshold
Host Services
Variable
Description
DEMYX_CODE_ENABLE
Enable code-server service (true/false)
DEMYX_CODE_DOMAIN
Subdomain for code-server
DEMYX_CODE_PASSWORD
code-server password
DEMYX_CODE_SSL
Enable SSL for code-server (true/false)
DEMYX_TRAEFIK_DASHBOARD
Enable Traefik dashboard (true/false)
DEMYX_TRAEFIK_DASHBOARD_DOMAIN
Subdomain for the Traefik dashboard
DEMYX_TRAEFIK_LOG
Traefik log level
DEMYX_TRAEFIK_SSL
Enable SSL for Traefik dashboard (true/false)
Host Notifications & Logs
Variable
Description
DEMYX_LOGROTATE
Log rotation frequency
DEMYX_LOGROTATE_INTERVAL
Number of rotated logs to retain
DEMYX_LOGROTATE_SIZE
Maximum log size before rotation
DEMYX_MATRIX
Enable Matrix notifications (true/false)
DEMYX_MATRIX_KEY
Matrix webhook or access key
DEMYX_MATRIX_URL
Matrix webhook URL
DEMYX_SMTP
Enable SMTP notifications (true/false)
DEMYX_SMTP_HOST
SMTP server host
DEMYX_SMTP_PORT
SMTP server port
DEMYX_SMTP_FROM
Sender address
DEMYX_SMTP_TO
Recipient address
DEMYX_SMTP_USERNAME
SMTP username
DEMYX_SMTP_PASSWORD
SMTP password
Core App Variables
Variable
Description
DEMYX_APP_DOMAIN
The app's primary domain
DEMYX_APP_DOMAIN_WWW
Whether www subdomain is enabled (true/false)
DEMYX_APP_ID
Unique alphanumeric ID for the app
DEMYX_APP_CONTAINER
Base container name (derived from domain)
DEMYX_APP_COMPOSE_PROJECT
Docker Compose project name
DEMYX_APP_STACK
Stack type: nginx-php, ols, bedrock, ols-bedrock
Authentication
Variable
Description
DEMYX_APP_AUTH
Basic auth enabled (true/false)
DEMYX_APP_AUTH_WP
Basic auth for WP login only (true/false)
DEMYX_APP_AUTH_USERNAME
Basic auth username
DEMYX_APP_AUTH_PASSWORD
Basic auth password
DEMYX_APP_DEV_PASSWORD
code-server password
PHP / Stack Configuration
Variable
Description
DEMYX_APP_PHP
PHP version (8.3, 8.4) — nginx-php/bedrock stacks
DEMYX_APP_OLS_LSPHP
LSPHP version — OLS stacks
DEMYX_APP_PM
PHP-FPM process manager (ondemand, dynamic, static)
DEMYX_APP_PHP_MAX_REQUESTS
PHP-FPM max requests per child
DEMYX_APP_OPCACHE
PHP OPcache enabled (true/false)
Cache & Performance
Variable
Description
DEMYX_APP_CACHE
FastCGI / page cache enabled (true/false)
DEMYX_APP_CACHE_INACTIVE
Cache expiry duration (e.g. 1d)
DEMYX_APP_REDIS
Redis enabled (true/false)
DEMYX_APP_RATE_LIMIT
Nginx rate limiting for wp-login/wp-cron (true/false)
SSL
Variable
Description
DEMYX_APP_SSL
SSL enabled (true/false)
DEMYX_APP_SSL_WILDCARD
Wildcard SSL via Cloudflare (true/false)
Containers
Variable
Description
DEMYX_APP_WP_CONTAINER
WordPress container name
DEMYX_APP_DB_CONTAINER
MariaDB container name
DEMYX_APP_NX_CONTAINER
NGINX container name
DEMYX_APP_PREFIX
Volume name prefix
Maintenance & Backup
Variable
Description
DEMYX_APP_BACKUP
Auto backup enabled (true/false)
DEMYX_APP_HEALTHCHECK
Healthcheck enabled for this app (true/false)
DEMYX_APP_DEV
Developer mode / code-server active (true/false)
DEMYX_APP_MAINTENANCE
Maintenance mode active (true/false)
DEMYX_APP_WP_UPDATE
Auto WordPress/plugin updates via WP-CLI (true/false)
Viewing Variables
bash
# Host variables
demyx host env
# All variables for an app
demyx info domain.tld
# Specific variable
demyx info domain.tld --env=DEMYX_APP_STACK
# All credentials (auth, code-server, MariaDB, WP)
demyx info domain.tld -l
# JSON output
demyx info domain.tld -j
Analytics preferences
Demyx uses Google Analytics by default in your region to understand site usage. You can allow or decline analytics here.
Learn more.