Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ Though this should be easy enough to setup using a `cronjob`, like
`0 */6 * * * YourDockerUser cd /path/to/docker/compose/file && docker compose restart`
Need different time or interval but lacking knowledge of cron? Check [crontab.guru](https://crontab.guru/)

### :question: How to disable *BattlEye* anti-cheat?

In your `docker-compose.yml` set `ADDITIONALFLAGS="-nobattleye"`.

### :question: Which Docker image? `main` or `latest`?

Images tagged as `latest` are **tested and known to work.**[^3]
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
- GAMEPORT=7777
- QUERYPORT=27015
- MAXPLAYERS=32
- ADDITIONALFLAGS=""
ports:
- "7777:7777/udp"
- "7777:7777/tcp"
Expand Down
2 changes: 1 addition & 1 deletion start-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" \
-port=${GAMEPORT:-7777} \
-QueryPort=${QUERYPORT:-27015} \
-MaxPlayers=${MAXPLAYERS:-32} \
&
${ADDITIONALFLAGS} &

WRAPPER_PID=$!
echo "Server wrapper started with PID $WRAPPER_PID"
Expand Down