steam-arma3: Some improvements

This commit is contained in:
Hive 2018-05-24 14:20:56 +02:00
parent 3150bc4818
commit 35d21aa0e5
4 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
FROM zombi/steam-base
MAINTAINER MadMaurice <madmaurice@zom.bi>, Paul <paul@zom.bi>
EXPOSE 2302-2305/udp
EXPOSE 2302-2305/udp 2308/udp
ADD bin/entrypoint.sh /entrypoint.sh
ADD server.cfg /home/steam

View File

@ -17,6 +17,7 @@ docker build -t zombi/steam-arma3 .
docker run -d \
--name arma3 \
-p 2302-2305:2302-2305/udp \
-p 2308:2308/udp \
-v /data/steam-games:/home/steam/games \
zombi/steam-arma3
```

View File

@ -35,9 +35,11 @@ then
/opt/steamcmd/steamcmd.sh \
+login $steam_user $steam_password\
+force_install_dir $installdir \
+app_update $game_id -beta legacyPorts -betapassword Arma3LegacyPorts validate \
+app_update $game_id validate \
+quit
#+app_update $game_id -beta legacyPorts -betapassword Arma3LegacyPorts validate \
exit 0
else
# install dir maybe mounted read-only, simply
@ -64,6 +66,7 @@ if [ ! -x ./arma3server ]
then
# we cant run the game then.
echo "game launcher not found, installed incorrectly?"
ls -alh
exit 1
fi

View File

@ -1,5 +1,5 @@
hostname="Community Server";
passwordAdmin = "password";
passwordAdmin = "boobs";
maxPlayers = 20;
motd[] = {"Welcome to the ARMA3 Server","Please enjoy your stay!"};