Docker image for running a ET: Legacy 64-bit dedicated server.
A changelog is provided with each release.
Documentation for some of the commands are available at the projects wiki.
- Clone the repo:
git clone https://github.com/sebdanielsson/docker-etlegacy.git
- Move to repo:
cd docker-etlegacy
- Download game data packs:
curl -O --output-dir ./data/etmain "https://mirror.etlegacy.com/etmain/pak[0-2].pk3"
- Configure
etl_server.cfg
andmapvotecycle.cfg
in./data/etmain
before starting the server. - Start the container.
docker run --name etlegacy \
-p 27960:27960/udp \
-v ./data/etmain:/etlegacy/etmain \
sebdanielsson/etlegacy:latest
services:
etlegacy:
container_name: etlegacy
image: sebdanielsson/etlegacy:latest
command: +set fs_game legacy +set fs_homepath etmain +set g_protect 1 +exec etl_server.cfg
ports:
- "27960:27960/udp"
volumes:
- ./data/etmain:/etlegacy/etmain
restart: unless-stopped
The following instruction assumes that you're deploying with docker compose.
mkdir data/nitmod
curl http://etmods.net/downloads/nitmod_2.3.5.zip -o nitmod_2.3.5.zip && unzip -d data/nitmod nitmod_2.3.5.zip nitmod_2.3.5.pk3 qagame.mp.x86_64.so && rm nitmod_2.3.5.zip
Add the following bind mount under volumes: in your compose.yml
to make your nitmod directory accessible to the container.
- ./data/nitmod:/etlegacy/nitmod
Replace the launch options in your compose.yaml
.
command: +set fs_game nitmod +set fs_homepath /etlegacy +set g_protect 1 +exec nitmod.cfg
Add nitmod.cfg (Required), levels.db (Recommended), commands.db, votes.db
Some documentation can be found on these websites:
All contributions are appreciated.
MIT