work/paddock

Racing-sim server + web console

PADDOCK

A Windows-only racing-sim dedicated server running under Wine on the home server, and PADDOCK, the small web console that stages races for it.

Live

Status tiles, controls and race configuration for the rig instance, with a race in progress.

Automobilista 2's dedicated server only ships for Windows. Rather than keep a Windows virtual machine running for it, it runs in a Docker container under 32-bit Wine on the Linux home server: about 179 MiB of memory and around 4% of one core when idle, against the 4 to 8 GB a Windows VM would want. Two instances run side by side, a private one for the sim rig and a public drop-in "trackday", separated by port offsets.

Runs on
Docker on the home server; the console is a web page on the local network
Built with
Wine (32-bit), steamcmd, Docker, Node with zero dependencies
Started
September 2026

Race control

Two instances, one console

  1. Status tiles, controls and race configuration for the rig instance, with a race in progress.
    Status tiles, controls and race configuration for the rig instance, with a race in progress.
  2. The trackday instance, idle.
    The trackday instance, idle.

Everything

Sessions, config and the log

  1. The full page: sessions, attributes, server config and log.
    The full page: sessions, attributes, server config and log.
  2. On a phone.
    On a phone.

PADDOCK

PADDOCK is the console. It shows the process state and restart policy, whether the server's API is reachable, the session state, memory, CPU and tick usage, how many members and participants are connected, and the server log. From the same page you can start, stop or restart the server, advance or restart the session, chat into it, and stage a race: track, vehicle class, grid size, laps, practice and qualifying minutes, AI difficulty and every session flag, either for the next session or written to the current one.

Tracks, cars and classes are read live from the server (230 tracks, 282 vehicles, 109 classes), and so are the session-flag bit values, because the sample config and the official PDF disagree with each other.

How it's built

  • One small Node file and one HTML page. It runs on the host network so both of the sim server's loopback-only APIs stay private, and PADDOCK is the single place that decides access. Changes need a token, and container actions are limited to the named containers.
  • The server's API is an old libwebsockets build that breaks when connections are reused, so every request opens a fresh one. That one line is documented as load-bearing.
  • More hard-won notes: settings only stick for the next session with a copy-to-next flag, admin refusals come back as HTTP 400 with an HTML body, the livery list is Windows-1252 rather than UTF-8, and a port clash shows up as a Windows access error rather than "address in use".
  • Honest limit: the server stays idle until a real game client joins, so race staging was verified end to end only up to a client joining.

The screenshots come from a scratch copy pointed at a mock of the server's API, built from its real catalogue, with a made-up race and placeholder drivers.

1 / 4

Status tiles, controls and race configuration for the rig instance, with a race in progress.
Status tiles, controls and race configuration for the rig instance, with a race in progress.