commands / demyx run
No results for ""
demyx run
Usage
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
| Flag | Description |
|---|---|
--auth | Enable basic authentication |
--cache | Enable FastCGI/page cache |
--clone=<app> | Clone an existing app to this new domain |
--email=<email> | Set custom admin email (default: info@DEMYX_DOMAIN) |
-f | Skip confirmation when app already exists |
--pass\|--password=<pass> | Set custom admin password |
--php=<8.3\|8.4> | Set PHP version (default: 8.4) |
--redis | Enable Redis |
--ssl | Enable SSL (requires DEMYX_DOMAIN and DEMYX_EMAIL set) |
--ssl-wildcard | Enable 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 |
--www | Enable www subdomain |
Examples
# 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 --cacheOutput
After a successful demyx run, credentials are printed:
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 trueRelated
demyx rm— delete an appdemyx config— configure an existing appdemyx backup— back up an app