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

No results for ""

demyx run

Usage

bash
demyx run <domain> <args>

Description

Creates a new WordPress app with the specified domain and configuration. Demyx pulls the required images, creates Docker volumes and containers, installs WordPress, and outputs the credentials.

Arguments

FlagDescription
--authEnable basic authentication
--cacheEnable FastCGI/page cache
--clone=<app>Clone an existing app to this new domain
--email=<email>Set custom admin email (default: info@DEMYX_DOMAIN)
-fSkip confirmation when app already exists
--pass\|--password=<pass>Set custom admin password
--php=<8.3\|8.4>Set PHP version (default: 8.4)
--redisEnable Redis
--sslEnable SSL (requires DEMYX_DOMAIN and DEMYX_EMAIL set)
--ssl-wildcardEnable wildcard SSL via Cloudflare (requires DEMYX_CF_KEY)
--stack=<bedrock\|nginx-php\|ols\|ols-bedrock>Set stack (default: nginx-php)
--type=<wp\|php\|html>App type (default: wp)
--user\|--username=<user>Set custom admin username
--whitelist=<all\|login>Enable IP whitelisting
--wwwEnable www subdomain

Examples

bash
# Basic WordPress app (no SSL)
demyx run domain.tld

# With SSL
demyx run domain.tld --ssl

# OpenLiteSpeed stack with SSL and Redis
demyx run domain.tld --stack=ols --ssl --redis

# Custom credentials
demyx run domain.tld --ssl --user=myadmin --pass=mypassword --email=me@domain.tld

# Clone existing site to new domain
demyx run newdomain.tld --clone=olddomain.tld --ssl

# Bedrock (Roots.io) stack
demyx run domain.tld --stack=bedrock --ssl

# PHP 8.3 with cache enabled
demyx run domain.tld --ssl --php=8.3 --cache

Output

After a successful demyx run, credentials are printed:

text
WordPress Login      https://domain.tld/7b011c4d/9ab9d948f6
Username             magical_praman
Password             iSHEhkGxJzFPsVe0o6D1
Email                info@domain.tld

MariaDB Container    domain_tld_db
Nginx Container      domain_tld_nx
WordPress Container  domain_tld_wp

Stack                nginx-php
PHP                  8.4
SSL                  true
  • demyx rm — delete an app
  • demyx config — configure an existing app
  • demyx backup — back up an app