No results for ""
Host Helper
Overview
The demyx host command manages the core Demyx infrastructure — Traefik, the main Demyx container, and the code-server service.
Host operations use the release-pinned Demyx helper image for the installed helper version. In Demyx 1.11.0, that means helper-driven compose actions run through demyx/demyx:1.11.0.
Commands
Edit host environment
demyx host editOpens the host .env file in nano inside the Demyx container. Key variables to configure:
| Variable | Description |
|---|---|
DEMYX_DOMAIN | Your server's primary domain |
DEMYX_EMAIL | Email for Let's Encrypt |
DEMYX_SERVER_IP | Your server's public IP |
DEMYX_BACKUP_ENABLE | Enable auto backups (true/false) |
DEMYX_HEALTHCHECK | Enable healthchecks (true/false) |
DEMYX_SMTP | Enable SMTP notifications (true/false) |
View host environment
demyx host envPrints the current host .env without opening an editor.
Start the stack
demyx host upStarts Demyx, Traefik, and code-server (if previously running).
Open a host shell
demyx shellOpens a root shell in the main Demyx container. You can also pass a command:
demyx shell demyx info systemRestart the stack
demyx host restartForce-recreates all host containers. Use after editing host edit.
Upgrade
demyx host upgradeUpgrades the Demyx host stack. It pulls the release-pinned helper image, updates /usr/local/bin/demyx when needed, pulls relevant service images, recreates core services, refreshes app configs, updates the image cache, and removes dangling images.
Skip the confirmation prompt:
demyx host upgrade -fContainer monitoring with ctop
demyx host ctopLaunches ctop — a real-time container resource monitor — in a temporary Docker container.
Remove the host stack
demyx host downStops and removes the main Demyx container. Your app data is preserved in Docker volumes.
Remove all core Demyx services, including code-server and Traefik:
demyx host down allChecking Warnings
When you run demyx (without arguments), the MOTD shows active warnings:
[WARNING] For SSL to work properly, please set a valid domain for DEMYX_DOMAIN: demyx host edit
[WARNING] Auto backups are disabled, set DEMYX_BACKUP_ENABLE to true: demyx host editFix these by running demyx host edit and setting the appropriate values, then demyx host restart.