1.3 KiB
1.3 KiB
OpenTTD JGRPP Docker Server
This setup builds OpenTTD with the JGR Patch Pack (JGRPP) from source and runs it in a Docker container.
Getting Started
-
Build and start the server:
docker-compose up -d --build -
Accessing the console:
docker exec -it openttd-jgrpp openttd -D(Actually, the server runs in dedicated mode. You can view logs with:)
docker-compose logs -f -
Configuration: The configuration is stored in
config/openttd.cfg. The default password is set toasd. -
Save Games: Save games are stored in
config/save/.
JGRPP Source
The source code is cloned from the jgrpp branch of https://github.com/JGRennison/OpenTTD-patches
(currently at tag jgrpp-0.71.1) and carries local patches from patches/ — see
patches/README.md. After a fresh clone of the source, apply them with
git -C OpenTTD-patches am ../patches/*.patch before building.
To update the server to a newer JGRPP version:
- Update the
OpenTTD-patchesdirectory:cd OpenTTD-patches && git pull && cd .. - Reapply (rebase if needed) the local patches from
patches/. - Rebuild the image:
docker-compose up -d --build