openmohaa/docker/server/base/entrypoint.sh
smallmodel 70f6ede7b8
Some checks failed
Build branch / build-all (push) Failing after 17s
CodeQL / Analyze (push) Has been cancelled
Add GAMESPY_PORT environment variable
2025-03-01 00:09:33 +01:00

5 lines
290 B
Bash

#!/bin/bash
# It's amazing that with Docker, one can't put environment variables in the array of the ENTRYPOINT command
/usr/local/games/openmohaa/lib/openmohaa/omohaaded +set fs_homepath home +set dedicated 2 +set net_port $GAME_PORT:-12203 +set net_gamespy_port $GAMESPY_PORT:-12300 $@