Noyau
Sections

Documentation › Administer

Configuration

Noyau works without any configuration. Most settings can be changed in the interface; the rest goes through the noyau config command or environment variables. This page lists where each setting lives and which names to use.

Where settings live

Setting Where to change it
Ports, listen address, proxy mode, remote access Administration > Remote access, or noyau config
Language, appearance, notifications, engines, modules Settings in the app
Project settings stored with the code noyau.json at the project root
Everything else Environment variables, see below

Network settings are stored in server.json inside the data folder. Priority order: environment variable, then server.json, then the default value. Changes to network settings apply on the next restart.

The noyau config command

noyau config                     # list every setting and where its value comes from
noyau config get port
noyau config set port 8080       # checks the port is free, offers another one otherwise, restarts the service
noyau config unset port          # back to the default
Key Default Purpose
port 4242 Main port, HTTP and HTTPS on the same port
https-port 4243 Dedicated HTTPS port (phone, VPN)
host 0.0.0.0 Listen address. 127.0.0.1 keeps Noyau to this machine only
behind-proxy false Noyau runs behind a reverse proxy that provides HTTPS
public-url empty Public address, used for instance by the phone QR code
trust-proxy loopback Proxies whose X-Forwarded-* headers are trusted
exposure local Remote access mode: local, vpn, tunnel, proxy or direct
tls-cert, tls-key empty Your own certificate and key files

The installer accepts the same settings as options: --port, --https-port, --host, --behind-proxy, --public-url, or --advanced to be asked during installation.

Environment variables

An environment variable always wins over server.json. Set them in the service environment, in your shell before noyau start, or in a .env file next to docker-compose.yml for Docker.

Network

Variable Purpose
NOYAU_PORT or PORT Main port (default 4242)
NOYAU_HTTPS_PORT Dedicated HTTPS port (default 4243)
NOYAU_HOST or HOST Listen address
NOYAU_BEHIND_PROXY Reverse proxy mode
NOYAU_PUBLIC_URL Public address
NOYAU_TRUST_PROXY Trusted proxies
NOYAU_EXPOSURE Remote access mode
NOYAU_TLS_CERT_FILE, NOYAU_TLS_KEY_FILE Your own certificate and key (also accepted: NOYAU_TLS_CERT, NOYAU_TLS_KEY)

Data and behaviour

Variable Purpose
NOYAU_DATA_DIR Data folder. The installer uses ~/.noyau/data; a server started from a clone uses .data/
NOYAU_WORKSPACE_ROOT Folder that contains your projects (default ~/projects)
NOYAU_TOKEN Access token required by the API and the web app
NOYAU_ENABLED_MODULES, NOYAU_DISABLED_MODULES Comma-separated optional plugins to turn on or off
NOYAU_PUSH_SUBJECT Contact (mailto: or URL) sent with web push notifications
NOYAU_LLM_PROXY_URL Optional OpenAI-compatible endpoint (a local model works) for small helpers: question detection, recaps, task auto-close
NOYAU_SANDBOX 0 turns off the sandbox for non-administrator accounts, 1 refuses to start without it (default: automatic, with a warning if missing)
NOYAU_AUTO_ENGINE_UPDATE 0 turns off automatic engine updates

Installer

Variable Purpose
NOYAU_HOME Installation prefix (default ~/.noyau), same as --prefix
NOYAU_REPO Git repository to install from, same as --repo
NOYAU_REF Branch to install, same as --ref

Docker

docker-compose.yml reads these variables from the environment or from a .env file next to it:

Variable Purpose
NOYAU_BIND Host address the ports are published on (default 0.0.0.0)
NOYAU_PORT, NOYAU_HTTPS_PORT Host ports (default 4242 and 4243)
NOYAU_BEHIND_PROXY, NOYAU_PUBLIC_URL Reverse proxy mode and public address
NOYAU_TRUST_PROXY Default loopback, uniquelocal, because the proxy arrives through the Docker network
NOYAU_PORT=8080 NOYAU_HTTPS_PORT=8443 docker compose up -d
NOYAU_BIND=127.0.0.1 NOYAU_BEHIND_PROXY=true NOYAU_PUBLIC_URL=https://noyau.example.com docker compose up -d

The image sets NOYAU_DATA_DIR=/data and NOYAU_WORKSPACE_ROOT=/workspace. Compose mounts ./workspace on /workspace for projects.

Behind a reverse proxy

The proxy (Caddy, Nginx, Traefik) provides HTTPS and the domain name. In proxy mode, Noyau serves plain HTTP, listens on 127.0.0.1 by default and reads X-Forwarded-Proto, X-Forwarded-For and X-Forwarded-Host only from trusted proxies.

noyau config set behind-proxy true
noyau config set public-url https://noyau.example.com

A minimal Caddy configuration:

noyau.example.com {
    reverse_proxy 127.0.0.1:4242
}

With Nginx, forward WebSockets: agent terminals need them. Do not turn proxy mode on while Noyau is also directly reachable, or a client could send its own X-Forwarded-* headers. Full examples are in Install and Remote access.

Check the result

noyau config      # values and where they come from
noyau status      # service and server response
noyau doctor      # each problem with the command that fixes it
noyau expose check

Edit this page on GitHub