CLI Command Reference
Control your Fluxstream daemon services and environments directly from the CLI shell.
The fluxstream command-line tool wraps Docker Compose commands to easily initialize configuration files, manage containers, and monitor services.
The CLI daemon relies on a running Docker daemon. Ensure Docker is running on your system before executing the daemon control commands.
Command Overview
The CLI comes packaged with the following core commands:
fluxstream setup- Generates initial directory paths and downloads configuration templates.fluxstream start- Spins up the server and client container systems.fluxstream status- Queries the health of containers and pings API ports.fluxstream where- Resolves local and network listening endpoints.fluxstream stop- Gracefully stops and removes composition layers.
Commands
fluxstream setup
Initializes application directories and downloads the standard Docker composition configs.
Actions performed:
- Validates that Docker is installed on the host system.
- Identifies user config paths dynamically (e.g.,
~/.config/fluxstreamor%APPDATA%/Fluxstream). - Allocates folders for downloaded torrent contents.
- Generates and writes the localized
docker-compose.ymlconfig.
fluxstream start
Runs composition containers in daemon mode and prints network addresses.
Actions performed:
- Checks that the Docker daemon is active.
- Verifies that
fluxstream setuphas been run first. - Launches services in the background using
docker compose up -d. - Outputs local loopback (
http://localhost:3000) and local area network (LAN) connection links.
fluxstream status
Queries container processes and tests backend API port connections.
Actions performed:
- Lists running containers matching the name
fluxstream. - Resolves status of backend service by hitting the
http://localhost:8080/healthendpoint. - Reports service connectivity and container health states.
fluxstream where
Displays active connection links and local IP configurations.
Actions performed:
- Scrapes container state.
- Resolves LAN IP address configurations.
- Displays local and network URL routing paths.
fluxstream stop
Gracefully shuts down Docker Compose container groups.
Actions performed:
- Shuts down running container layers via
docker compose down. - Stops API services and client servers while retaining persistent downloaded torrent files.