Production operation
Foreground operation
Section titled “Foreground operation”hoplite serve check --mode prod PROJECThoplite serve build --mode prod PROJECThoplite serve foreground --mode prod PROJECTProduction mode uses available CPU parallelism unless the selected profile or advanced host configuration specifies a worker count. It does not expose the development-only default OpenAPI route.
Foreground operation also starts the Hoplite management gateway on
127.0.0.1:9090. Set HOPLITE_MANAGEMENT_LISTEN to another loopback socket,
or to off when a separate hoplite auth serve process owns management.
Non-loopback values are rejected.
Managed background process
Section titled “Managed background process”hoplite serve start --mode prod PROJECThoplite serve status PROJECThoplite serve reload PROJECThoplite serve stop PROJECTmacOS LaunchAgent
Section titled “macOS LaunchAgent”hoplite serve install --mode prod PROJECThoplite serve uninstall PROJECTinstall and uninstall require macOS launchd. They are not supported on Linux.
Logs and process files
Section titled “Logs and process files”The built Nginx configuration places the PID, access log, and error log inside the project’s .hoplite/ directory. Use the development console’s dev/logs when the application is owned by that console.