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.cfgandmapvotecycle.cfgin./data/etmainbefore starting the server. - Start the container.
docker run --name etlegacy \
-p 27960:27960/udp \
-v ./data/etmain:/etlegacy/etmain \
sebdanielsson/etlegacy:latestservices:
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-stoppedThe following instruction assumes that you're deploying with docker compose.
mkdir data/nitmodcurl 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.zipAdd the following bind mount under volumes: in your compose.yml to make your nitmod directory accessible to the container.
- ./data/nitmod:/etlegacy/nitmodReplace the launch options in your compose.yaml.
command: +set fs_game nitmod +set fs_homepath /etlegacy +set g_protect 1 +exec nitmod.cfgAdd nitmod.cfg (Required), levels.db (Recommended), commands.db, votes.db
Some documentation can be found on these websites:
All contributions are appreciated.
MIT
