Skip to content

Latest commit

 

History

History
84 lines (57 loc) · 2.1 KB

File metadata and controls

84 lines (57 loc) · 2.1 KB

Configuration

Configuration for RotomNG lives in configs.

There is an example config file that should be copied to rotom.toml and edited to your liking. All sections are optional and have sensible defaults.

If you are migrating from OG Rotom, there is a conversion script at configs/rotom-og-to-ng.py that will convert your existing config to the new format.

Building and starting

Docker

Image tags

RotomNG images are published to ghcr.io/unownhash/rotomng/rotom-ng. Available tags:

  • main — built from the latest commit on the main branch. This is the recommended tag for most users and maps to the latest release.
  • vX.Y.Z (e.g. v1.0.0) — a specific stable release version. Pin to a version tag for reproducible deployments.
  • testing — built from the testing branch. May contain pre-release or in-progress changes; intended for testing only. This will generally point to the latest testing release.
  • vX.Y.Z-testing (e.g. v1.0.0-beta1-testing) — a specific pre-release version from the testing branch.

Running with Docker Compose

Rename the docker compose example file to docker-compose.yml, edit it, and:

$ docker compose pull
$ docker compose up -d

Building locally

If you prefer to build the image yourself instead of pulling from GHCR:

$ docker build -f apps/rotom-ng/Dockerfile -t rotom-ng .

Non-docker (local install)

Requirements

  1. You will need to have at least golang 1.26.3 installed. You may need to install it manually. See the instructions and download links.
  2. Ensure node v20.8 or higher is installed (v24+ recommended).
  3. Install Bun v1.3 or higher. Bun is used to build the frontend UI.

Building

From the RotomNG root directory:

$ make

This will install frontend dependencies via Bun, build the UI, and compile the Go binary.

Starting with pm2

$ pm2 start ./rotom-ng --name rotom-ng

Starting directly

$ ./rotom-ng

You can also specify a config file path:

$ ./rotom-ng /path/to/rotom.toml