The dxflow engine provides flexible boot modes and configuration options for different deployment scenarios, from development to production environments.
dxflow boot up to start with default settings - HTTP enabled, foreground mode, perfect for development!The dxflow engine provides multiple boot modes and configuration options for different deployment scenarios. This comprehensive boot system supports foreground execution, background services, and automatic instant mode for CLI operations.
dxflow supports three distinct boot modes:
Foreground Mode
Default mode - Engine runs in current terminal session
Background Mode
Daemon service - Engine runs as system service
--daemon or -d flagInstant Mode
Automatic - Internal boot for CLI commands
These flags must be placed before the boot command:
dxflow [GLOBAL_FLAGS] boot up [BOOT_FLAGS]
| Flag | Short | Default | Description |
|---|---|---|---|
--config-profile | -C | default | Configuration profile to use |
--log-level | -L | disabled | Logging verbosity (disabled, debug, info, warn, error) |
--no-color | -N | false | Disable colored terminal output |
| Flag | Default | Description |
|---|---|---|
--http | true | Serve over HTTP |
--https | false | Serve over HTTPS |
--no-http | false | Disable all network protocols |
--no-http overrides all other network flags and enables Unix socket only mode.| Flag | Default | Description |
|---|---|---|
--proxy | false | Enable subdomain allocation service |
--bridge | false | Connect to hub dxflow instance |
--proxy and --bridge cannot be used together on the same machine.| Flag | Short | Default | Description |
|---|---|---|---|
--daemon | -d | false | Run as background service (Linux only) |
Supported Platforms: Linux with SystemD or OpenRC
Makes your instance a hub that provides subdomains to other services:
Proxy Mode Features
Subdomain Format: ab1234567890.dxflow.io (2 letters + 10 alphanumeric characters)
Use Cases:
Connects your instance to a hub to obtain a subdomain:
Bridge Mode Features
When engine is running with --bridge, you can manage connections dynamically:
# Check bridge status and get identity
dxflow bridge list
# Disconnect from hub (stops tunnel, keeps engine running)
dxflow bridge disconnect <identity>
# Reconnect to hub (restores tunnel)
dxflow bridge connect <identity>
dxflow bridge list to find the identity first.This allows dynamic bridge management without restarting the entire engine.
Start with debug logging for development:
dxflow --log-level=debug boot up
Deploy as a hub server with HTTPS and daemon mode:
dxflow --config-profile=production boot up --https --proxy --daemon
Connect to a hub as an edge instance:
dxflow --config-profile=edge boot up --bridge --daemon
# Start with defaults (foreground mode)
dxflow boot up
# Start as daemon service
dxflow boot up --daemon
# Stop daemon service
dxflow boot down
# Quick availability check
dxflow ping
# Detailed health status
dxflow healthcheck
/tmp/dxflow.out and /tmp/dxflow.err/etc/systemd/system/dxflow-engine.service# Service management
systemctl status dxflow-engine
systemctl start dxflow-engine
systemctl stop dxflow-engine
systemctl restart dxflow-engine
# View logs
tail -f /tmp/dxflow.out
tail -f /tmp/dxflow.err
/var/log/dxflow-engine.out and /var/log/dxflow-engine.err/etc/init.d/dxflow-engine/run/dxflow-engine.pid# Service management
rc-service dxflow-engine status
rc-service dxflow-engine start
rc-service dxflow-engine stop
rc-service dxflow-engine restart
# View logs
tail -f /var/log/dxflow-engine.out
tail -f /var/log/dxflow-engine.err
Scenario: One hub machine manages multiple node machines
Internet Users → [Hub: dxflow.io] (--proxy --https --daemon)
├── ab1234567890.dxflow.io → API server (--bridge)
├── cd9876543210.dxflow.io → Dev server (--bridge)
├── ef5a8b2c9d1e.dxflow.io → Local machine (--bridge)
└── gh7x4m8n2p5q.dxflow.io → CI/CD (--bridge)
| Aspect | Proxy Mode | Bridge Mode |
|---|---|---|
| Role | Hub/Server | Node/Client |
| Connection Direction | Receives connections | Makes connections |
| Subdomain Management | Provides to others | Receives from hub |
| Network Requirements | Public IP, DNS control | Internet access only |
| Performance | Direct routing, low latency | Tunneled, higher latency |
| Scalability | High - direct connections | Limited by tunnel bandwidth |
| Best For | Production platforms | Development/testing |
Port already in use
netstat -tulpn | grep :PORTPermission denied (daemon)
sudo for daemon operations on LinuxCannot use proxy and bridge together
Network disabled unexpectedly
--no-http flag overrides all network settings--no-http to enable network protocolsBridge connection fails
--proxy enabledBridge disconnects frequently
For boot-related assistance:
dxflow pingdxflow healthcheck