steam-arma3: Some improvements
This commit is contained in:
parent
3150bc4818
commit
35d21aa0e5
4 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
hostname="Community Server";
|
||||
passwordAdmin = "password";
|
||||
passwordAdmin = "boobs";
|
||||
maxPlayers = 20;
|
||||
motd[] = {"Welcome to the ARMA3 Server","Please enjoy your stay!"};
|
||||
|
||||
|
|
Loading…
Reference in a new issue