A Docker image to streamline and easily deploy new Open Fortress servers. Requires Docker to be installed. Based off the old official Linux server guide. The image is rebuilt automatically every week on Sunday with all the latest updates for everything.
latest
- The latest basic server image of Open Fortress, with all files updated weekly.latest-sm
- The latest server image of Open Fortress with SourceMod preinstalled, with all files updated weekly._cache
- The base image that is used to build the above two builds, includes TF2, Source SDK 2013 MP Base, and Open Fortress. Does not update often. DO NOT USE UNLESS DEBUGGING.docker compose up
to run the server attached to your terminal.Notes:
docker compose up -d
to detach it from your terminal; you'll want to run docker compose stop
if you want to stop the server if it's detached./var/lib/docker/volumes/
directory, although you will need superuser/root access to manage them (this is a limitation of Docker).docker compose down
to remove the container and volumes for the server.If you know Docker pretty well or need some specific changes to the setup, you can change the docker-compose.yml. For example, if you'd like to run the server with SourceMod for plugins and better server management, edit the compose file to change the image tag from "latest" to "latest-sm".
To add/edit files to/on your server, certain directories for the server are exposed as Docker volumes. If using the default docker-compose.yml, these named volumes are of_cfg
, of_custom
, and of_addons
for useful server directories you might want to edit and add files to. They are analogous to the server's cfg folder, custom folder, and addons folder respectively. The latter of which can be used to install and manage SourceMod. You can learn how to access these volumes here, using the docker volume inspect
command and using the outputed mount point.
The Open Fortress Docker Image bases the image off itself to simply update the files of the game. This is done with the Dockerfile.of file in the dockerfiles folder, however if you need to build the image from scratch the Dockerfile.cache file will be what you need to use.
This project's code is licensed under the MIT license, copyright Logan "NotQuiteApex" Hickok-Dickson. See LICENSE.md for more details.
This project pulls and uses assets belonging to multiple third-parties such as Valve Software or the Open Fortress dev team. These assets do not fall under the license described above, and are subject to any terms described by the respective license holder(s).
This project makes use of murse, a CLI tool developed by Welt for managing Toast projects such as Open Fortress. Please see its repo for more details on its license and attribution.