Update 'README.md'
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Jack Hadrill 2022-08-09 18:29:33 +00:00
parent 6f0b99d1b3
commit e3d8f3ddbd
1 changed files with 26 additions and 2 deletions

View File

@ -1,3 +1,27 @@
# IW4xDocker
# IW4x in Docker
IW4x in Docker
This repository contains the necessary ingredients for running IW4x in Docker.
## Usage instructions
Use the following `docker-compose.yml` file in order to setup IW4x.
```yml
version: '3'
services:
iw4x:
image: git.jacknet.io/jackhadrill/iw4xdocker:latest
volumes:
- data: /game
ports:
- '28961:28961/tcp'
- '28961:28961/udp'
volumes:
data:
```
Follow the instructions [here](https://xlabs.dev/support_iw4x_server) in order to download the IW4x files and prepare them for use.
Once done, place these in the `data` volume such that `iw4x.exe` is mounted to `/game/iw4x.exe` within the container.
Configuration files should be placed in `userraw/server.cfg` within the `data` volume.