How to Set Up RomM, the Self-Hosted ROM Manager, From Host Choice to Backups

RomM is a free, self-hosted ROM manager: AGPL-3.0 server software that runs as a Docker image on a home server or NAS, covers about 400 platforms, and is reached from a browser. The vendor’s FAQ says it is not a desktop app and expects basic Linux and Docker skills. As of 12 November 2026 the vendor’s docs contradict seven points that our earlier version of this guide made: a 4 GB RAM minimum, a config.yml that must exist, a per-user RetroAchievements API key, a free MobyGames key, standard accounts that can only browse and play, a shorter default provider order and a nested library mount. This version fixes those and orders the twelve steps by what your host, network exposure and emulation plans require.

The FAQ’s licence line is that the core “will always be free”, with no tracking or upsells. In the docs, “support” for a platform means RomM recognises the folder name and maps it to a canonical platform, at least one metadata provider has coverage for it, and it may also have an EmulatorJS core. That is the sense in which the 400 figure is used below.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

Pick the host, database and proxy first, then skip the steps you do not need

The FAQ names the supported ways to run your self-hosted ROM manager: Docker Compose on Linux, macOS or Windows with WSL2; Unraid, Synology or TrueNAS SCALE; and Kubernetes. The FAQ lists bare metal without containers (undocumented, though it says it should work), TrueNAS CORE and Windows without WSL as not supported. The install page adds that every supported deployment runs the same Docker image, with NixOS the exception because it packages RomM natively, and that one-click installs exist for Railway, Cloudzy, Hostinger and ZimaOS.

Size the host from the FAQ’s figures. A small library with one user needs 512 MB of RAM and any modest CPU. The FAQ calls 2 GB of RAM and 2 cores comfortable for thousands of ROMs, a few users and occasional scans.

Three components need a decision before you write the compose file. According to the install page they are the database (MariaDB by default, or MySQL or PostgreSQL), the in-memory store that holds sessions and the task queue (embedded or external), and a reverse proxy (Caddy, nginx, Traefik or NPM). HTTPS is required for OIDC and for installing RomM as a PWA. Unless you already run PostgreSQL, take the default MariaDB, because it is the documented default and the compose file below uses it. If you choose PostgreSQL, swap the dump command in step 11 for pg_dump. The compose file below defines no separate in-memory store service.

Your situationSteps that applySteps you can skip
LAN-only NAS or mini PC, one user1 to 7, 11, 128 (proxy), 9 (extra accounts), 10 unless you play newer systems
Phone or laptop away from home1 to 8, 11, 129 if you are the only user
PSP or DOS in the browser1 to 8, 11, 12: step 8 is mandatory, because those cores need HTTPS and a hostname, not an IPNone of the core path
Household with several accounts or RetroAchievementsAll of the above for your access pattern, plus 9None
One-click image (Railway, Cloudzy, Hostinger, ZimaOS)3, 6, 7, 11, 122 and 4, which the provider’s template replaces
Steam Deck or other handheld for PS1-era and newer systems10, with the rest of your pathNone

Seven older claims the vendor’s pages now contradict, and what this guide does instead

Readers who followed our earlier version of this guide should check these against the pages named in the table. All vendor statements are as read on 12 November 2026.

Our earlier guide saidVendor’s docs sayWhat this guide does
config.yml is read at startup and a missing file stops RomM with “Configuration file not Mounted!”The configuration reference says the whole file is optional and omitted sections fall back to defaults. The FAQ still describes that startup error when the mount or file is missing or unreadable. The two pages disagree.Mounts the config folder anyway, because folder bindings live in config.yml and the mount also avoids the FAQ’s error
At least 2 CPU cores and 4 GB of RAMFAQ: 512 MB and any modest CPU is the minimum; 2 GB and 2 cores is comfortableUses the vendor’s two figures
Each user keeps their own RetroAchievements API keyThe RetroAchievements page: the key is one server-wide RETROACHIEVEMENTS_API_KEY variable, and each user enters their RetroAchievements username in their profile, then Apply and SyncPuts the key in the compose file once and has users link usernames (step 9)
A MobyGames key is free with an account and takes a day or two to approveThe metadata-providers page: access to the MobyGames API is a paid feature, and it recommends ScreenScraper instead because that is freeTreats MobyGames as optional and ScreenScraper as the free key to get (step 3)
Standard accounts can only browse and play, with no granular permissionsThe users-and-roles page: Admin and User roles, with Users getting what their permission group grants plus any per-user overrides; Viewer and Editor groups are seededPoints you to the permission groups before you invite anyone (step 9)
A shorter default provider order that ended with HowLongToBeatThe configuration reference gives a default scan.priority.metadata list of 14 entriesQuotes the current list in step 3
Our earlier compose mounted roms and a separate bios path under /romm/libraryFAQ: the scanner expects the parent of roms/ mounted at /romm/library, not roms/ itselfMounts one library/ folder holding roms/ and bios/

Version-specific advice comes from the /latest/ docs, since the site also carries pages for alpha and numbered releases; the one exception is the users-and-roles page, cited from the 5.4.0 docs.

Library folder, metadata keys and a compose file that mounts the parent

Step 1: the folder tree

Everything RomM scans sits under one parent folder, and that parent is what you mount. Name each platform folder after its slug in the supported-platforms table or one of its folder-name aliases. Anything else needs a system.platforms binding in config.yml; the folder-structure page gives super_nintendo/ in place of snes/ as its example. Check any name you create against the slug and alias columns before you copy files into it.

/srv/romm/
  library/            <- this folder is mounted at /romm/library
    roms/
      snes/
      (one folder per platform slug or alias)
    bios/
  assets/
  resources/
  config/             <- holds config.yml
  db/
  backups/
sudo mkdir -p /srv/romm/library/roms/snes /srv/romm/library/bios
sudo mkdir -p /srv/romm/assets /srv/romm/resources /srv/romm/config /srv/romm/db /srv/romm/backups
sudo chown -R "$(id -u):$(id -g)" /srv/romm

Step 2: Docker with the Compose plugin

Install Docker with the Compose plugin by whatever route your host supports. Whatever route you use, finish with docker compose version and confirm it prints a version string.

docker compose version

Step 3: metadata keys

According to the FAQ, RomM runs without any metadata keys, but games then fail to match a source, so you get no covers, descriptions or ratings. The architecture notes in the project’s repository describe metadata enrichment from 10+ external providers. The compose file below has slots for IGDB (a client ID and secret), ScreenScraper (username and password), MobyGames and RetroAchievements.

Per the metadata-providers page, IGDB has no plain API key: you register an application in the Twitch developer console and use the client ID and secret it shows for IGDB_CLIENT_ID and IGDB_CLIENT_SECRET. As of 12 November 2026 the same page says “Access to the MobyGames API is a paid feature” and recommends ScreenScraper instead, as it is free to use. So get the IGDB and ScreenScraper credentials before the first scan, and add MobyGames only if you pay for access.

Which provider wins when several match depends on the priority list. As of 12 November 2026 the configuration reference gives the default scan.priority.metadata order as igdb, moby, ss, ra, launchbox, gamelist, hasheous, tgdb, flashpoint, steam, hltb, demozoo, pouet, csdb (14 entries). The list includes launchbox and gamelist entries alongside the online providers. Delete the compose lines for providers you skip rather than leaving dummy values.

Hasheous and ScreenScraper matter if your files carry no clean names. The metadata-providers page says that when either one matches a game by its hash, the game takes the region and languages of the exact dump that matched, so a correctly dumped .chd with no tags in its name still gets them. Renamed files are therefore not a reason to skip these providers.

Step 4: the compose file

Save this as /srv/romm/docker-compose.yml. The mounts follow the FAQ and configuration reference (library parent at /romm/library, assets at /romm/assets, config at /romm/config). Set PUID and PGID to the output of id -u and id -g.

services:
  romm-db:
    image: linuxserver/mariadb:latest
    container_name: romm-db
    restart: unless-stopped
    environment:
      PUID: "your_uid"
      PGID: "your_gid"
      MYSQL_DATABASE: romm
      MYSQL_USER: romm
      MYSQL_PASSWORD: change_this_password
      MYSQL_ROOT_PASSWORD: change_this_root_password
    volumes: ["/srv/romm/db:/config"]

  romm:
    image: rommapp/romm:latest   # pin to a release tag once it works
    container_name: romm
    restart: unless-stopped
    depends_on: [romm-db]
    ports: ["8080:8080"]
    environment:
      DB_HOST: romm-db
      DB_NAME: romm
      DB_USER: romm
      DB_PASSWD: change_this_password
      ROMM_AUTH_SECRET_KEY: paste_openssl_output_here
      IGDB_CLIENT_ID: your_client_id
      IGDB_CLIENT_SECRET: your_client_secret
      SCREENSCRAPER_USER: your_username
      SCREENSCRAPER_PASSWORD: your_password
      MOBYGAMES_API_KEY: your_key   # optional: MobyGames API access is paid
      RETROACHIEVEMENTS_API_KEY: your_ra_web_api_key
    volumes: [
      "/srv/romm/library:/romm/library",
      "/srv/romm/assets:/romm/assets",
      "/srv/romm/resources:/romm/resources",
      "/srv/romm/config:/romm/config"
    ]

Generate the auth secret instead of typing one, and replace both database passwords:

openssl rand -hex 32

Per the configuration reference, RomM reads config.yml from /romm/config/config.yml inside the container, and the whole file is optional. Keep one in the mounted config folder anyway, for the reasons in the first row of the corrections table. Once everything works, replace latest with a tag from the project’s GitHub releases, so a database migration happens when you choose and not on a routine pull.

Bring it up, copy your own files in and scan once

Step 5: launch

cd /srv/romm
docker compose up -d
docker compose logs -f romm

When the logs settle, open http://your-server-ip:8080, the same port the reverse-proxy page’s nginx example targets. The FAQ says the internet is needed for pulling Docker images and for the first scan against metadata providers. After that, browsing and playing can work offline.

Step 6: copy ROMs and BIOS files

Use files you dumped yourself from media you own. Put them in the platform folders under library/roms/ and firmware in library/bios/. Our RetroArch BIOS guide covers which firmware files each system asks for and how to source them legitimately. From Linux or macOS, rsync copies a folder over SSH; from Windows, robocopy does the same job to a network share of the library folder.

rsync -avz --progress ./snes/ user@your-server:/srv/romm/library/roms/snes/
robocopy "D:\ROMs\SNES" "\\your-server\romm-library\roms\snes" /E

Step 7: the first scan

The install page gives the order: configure metadata providers, populate the library with your first scan, then add users. Start with one or two platform folders so you can see matching work before you point the scanner at a whole dump. If the scan lists platforms but finds no games, the usual cause is that roms/ was mounted instead of its parent, as the symptom table at the end explains.

HTTPS, accounts and what plays in the browser

Step 8: a reverse proxy with TLS

Per the FAQ, the PSP and DOS cores require the site to be served over https://, so reaching RomM by IP will not work for them, and it recommends Chromium-based browsers. Per the install page, OIDC and PWA install also need HTTPS. The reverse-proxy page shows Caddy, which handles HTTPS automatically through Let’s Encrypt. Replace romm.yourdomain.com below with the DNS name that points at your server. A minimal Caddyfile pointing at the container’s port looks like this:

romm.yourdomain.com {
    reverse_proxy localhost:8080
}

With nginx, proxy to the same address from inside your HTTPS server block and set the Upgrade and Connection headers, which the reverse-proxy page says WebSocket features such as live scan progress depend on:

# inside your existing HTTPS server block for romm.yourdomain.com
location / {
    proxy_pass http://127.0.0.1:8080;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
}

A public hostname puts RomM’s login page on the internet. If only your own devices need to reach it, a VPN to your home network gives you the same access without that exposure.

Step 9: users, kiosk mode and RetroAchievements

Add accounts after the first scan, following the docs’ Invitations and Registration section, and give each person their own login. As of 12 November 2026 the users-and-roles page describes Admin and User roles. A User gets whatever their assigned permission group grants, plus any per-user overrides, and the groups are configurable with Viewer and Editor seeded. Look at which group a new account lands in before you hand out the login.

Setting KIOSK_MODE=true in the environment gives anonymous visitors read-only access, per the FAQ, which suits a shared screen and not an internet-facing server. For achievements, the server holds one RETROACHIEVEMENTS_API_KEY (already in the compose file above). Each user then enters their RetroAchievements username in their profile and chooses Apply, then Sync.

Step 10: play in the browser or hand off to a device

The FAQ’s guidance on in-browser emulation sorts systems by generation. Anything it rates poorly is a job for a device-side emulator, with RomM still holding the library. On a Steam Deck, our RetroDECK setup guide covers the device-side emulator, and our guide to Pokémon emulators on Steam Deck is the companion read for that handheld.

System generationFAQ on in-browser playRoute
4th generation and earlierHandled wellPlay in the browser
Saturn, PS1, N64Hit-or-missTry the browser first, and keep a device emulator ready for titles that fail
PSP and newerMostly unplayableHand off to a device emulator
DOSCore requires HTTPSBrowser play only through the step 8 proxy

In-browser play downloads the emulator bundle on first launch and then caches it, per the FAQ. For frontends that read gamelist.xml, the configuration reference describes generating a gamelist.xml in each platform folder, compatible with ES-DE and Batocera. The architecture notes also list feed generation in Tinfoil, WebRcade and PKGi formats, among other custom formats.

Nightly backups and a careful update routine

Step 11: back up the database, assets and config

The FAQ’s recipe is a mysqldump of the database plus an rsync of the /romm/assets and /romm/config volumes, nightly. The script below does that. It stops on any error, writes the dump to a temporary file so a failed run never leaves a half-written .sql file behind, and deletes dumps older than 14 days. Store the database password in a root-only backup.env file containing DB_PASSWORD=... and change BACKUP_DIR, and the path in the final find line, to a different disk if you can. Your ROM library needs its own backup like any other files.

#!/usr/bin/env bash
set -euo pipefail

BACKUP_DIR=/srv/romm/backups
source /srv/romm/backup.env        # defines DB_PASSWORD

TMP=$(mktemp "$BACKUP_DIR/.romm-dump.XXXXXX")
trap 'rm -f "$TMP"' EXIT

docker exec -e MYSQL_PWD="$DB_PASSWORD" romm-db mysqldump -u romm romm > "$TMP"
mv "$TMP" "$BACKUP_DIR/romm-$(date +%F).sql"

rsync -a /srv/romm/assets/ "$BACKUP_DIR/assets/"
rsync -a /srv/romm/config/ "$BACKUP_DIR/config/"

find /srv/romm/backups -maxdepth 1 -name 'romm-*.sql' -mtime +14 -delete
chmod u=rw,go= /srv/romm/backup.env
chmod +x /srv/romm/backup.sh
# crontab -e
0 3 * * * /srv/romm/backup.sh

Restore one dump into a throwaway database once, so you know the file works before you need it.

Step 12: update

The FAQ’s update is a pull of the RomM image followed by a restart of the romm service, and it says to read the upstream release notes before minor or major upgrades. Run the backup script first, then:

cd /srv/romm
/srv/romm/backup.sh
docker compose pull romm
docker compose up -d romm

As of 12 November 2026 the project’s releases page lists 5.4.1 (October 2026) as the latest release, and its notes say it includes mitigations for the eMudhra certificate-authority compromise as well as general dependency upgrades. If you pinned a tag, change the pin deliberately after reading that release’s notes.

When it will not start or will not match: symptom, cause and fix

SymptomDocumented or direct causeFix
Platforms appear but no gamesThe FAQ says the scanner expects the parent of roms/ at /romm/library; roms/ itself was mountedMount /srv/romm/library at /romm/library and rescan
No covers, descriptions or ratingsNo metadata keys, or keys the container did not load (FAQ)Fix the variables in the compose file, run docker compose up -d, rescan
“Configuration file not Mounted!”The FAQ ties it to a missing or unreadable config mount; the configuration reference calls the file optionalMount the config folder at /romm/config and keep a config.yml in it
PSP or DOS game will not loadSite is served by IP over plain HTTP; those cores require HTTPS (FAQ)Put the proxy from step 8 in front and open the hostname
Scan progress never updates behind the proxyUpgrade and Connection headers missing (reverse-proxy page)Add the two proxy_set_header lines
Bad gateway error from the proxyProxy target is not the container’s portPoint it at 127.0.0.1:8080 and check docker compose logs romm
Database connection error on first startDB_HOST does not match the database service name in the compose fileUse romm-db in both places, check docker compose ps
Restart loop after an updateThe cause depends on the release; the FAQ says to read the upstream release notes before minor or major upgradesRead the notes, restore the dump from step 11, pin the previous tag
RetroAchievements shows nothing for a userThe user has not linked a username and synced, or the server key is missing (RetroAchievements page)Enter the username in the profile, Apply, then Sync; check the key in the compose file
Nadia Dubois

Nadia Dubois

AI, software and the business of tech

Nadia Dubois covers AI, software and the business of tech for Tech Insider: AI models and the products built on them, developer and productivity software, pricing, and the company decisions and regulation that shape the industry.

View all articles