Daemon
Prerequisites
Before you begin the installation process, ensure that your system meets the following requirements:
- Operating System: Linux. MacOS works but is unsupported. Windows won't work at all.
gypinstalled, this also requiresbuild-essentialor other C++ toolchain- IP Connection to the Stardust Web server.
- A working docker installation - Daemon interface must be exposed via socket or TCP.
Installation
Configure
| Prop | Type | Default |
|---|---|---|
port | number | 4000 |
host | string | 0.0.0.0 |
service | boolean | true |
token | string | - |
docker | DockerConfig | - |
session | SessionConfig | - |
Keys
| Prop | Type | Default |
|---|---|---|
type | "http" | "socket" | `socket` |
socket | string | `/var/run/docker.sock` |
enableIcc | boolean | false |
host | string | - |
port | number | - |
protocol | "http" | "https" | - |
network | string | `stardust` |
Start
On first start, the app will be automatically daemonized if specified in the config. It will generate and log the token used to authenticate by Stardust Web.
Edit on GitHub
Last updated on