Renplay documentation
Docker and Docker Compose
Run Renplay with Docker or Docker Compose.
Docker Compose
Section titled “Docker Compose”Create a folder for Renplay, and in it a compose.yaml:
services: renplay: image: ghcr.io/renplay-org/renplay:2.10.0 container_name: renplay restart: unless-stopped ports: - "8080:8080" volumes: - ./games:/games - ./data:/dataThen:
mkdir -p games datasudo chown 1000:1000 games datadocker compose up -dOpen http://<your server>:8080.
- The image runs as user and group 1000. If you pick other folders, they must be writable by
that user, or set
user:in the Compose file to one that owns them. - Pin a version (
2.10.0above; use the newest from the releases) instead oflatest, so an upgrade happens when you decide. See Upgrading. - The same image is on Docker Hub as
renplay/renplay. ghcr.io/renplay-org/renplay:edgeis built from every change on thedevbranch. It is for trying things, not for a library you care about.
Plain Docker
Section titled “Plain Docker”docker run -d --name renplay --restart unless-stopped -p 8080:8080 \ -v /path/to/games:/games \ -v /path/to/data:/data \ ghcr.io/renplay-org/renplay:2.10.0The two folders
Section titled “The two folders”| Folder | What is in it |
|---|---|
/data | Saves and their history, the library, mods, covers, walkthroughs. Back this up. |
/games | Installed games, and _archives/, where game downloads are dropped. Renplay can rebuild installed games from the archives, while they are kept. |
Keep both on local disks if you can. Network shares work, but creating many small files is slow on them; see Troubleshooting.
The container can also run with a read-only root filesystem: it writes only to /games, /data
and /tmp. Add read_only: true and tmpfs: [/tmp] to the Compose service if you want that.
Options
Section titled “Options”Everything works without configuration. See Configuration for the environment variables.
Check that it runs
Section titled “Check that it runs”curl http://localhost:8080/api/healthdocker logs renplayNext: Add a game.