Create stationeers dedicated server docker image
This commit is contained in:
commit
32025a8a18
3 changed files with 49 additions and 0 deletions
19
Dockerfile
Normal file
19
Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
FROM steamcmd/steamcmd:debian-13
|
||||||
|
|
||||||
|
LABEL maintainer="laborratte5+stationeers-dd@gmail.com"
|
||||||
|
|
||||||
|
ARG UID=1000
|
||||||
|
ARG GID=1000
|
||||||
|
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
|
COPY install_stationeers_dedicated.txt "/install_stationeers_dedicated.txt"
|
||||||
|
RUN steamcmd +runscript /install_stationeers_dedicated.txt
|
||||||
|
|
||||||
|
COPY start-server.sh "/start-server.sh"
|
||||||
|
CMD chmod +x /start-server.sh
|
||||||
|
|
||||||
|
EXPOSE 27015/udp
|
||||||
|
EXPOSE 27016/udp
|
||||||
|
|
||||||
|
ENTRYPOINT ["bash", "/start-server.sh"]
|
||||||
6
install_stationeers_dedicated.txt
Normal file
6
install_stationeers_dedicated.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
@ShutdownOnFailedCommand 1
|
||||||
|
@NoPromptForPassword 1
|
||||||
|
force_install_dir /stationeers-dd
|
||||||
|
login anonymous
|
||||||
|
app_update 600760 validate
|
||||||
|
quit
|
||||||
24
start-server.sh
Normal file
24
start-server.sh
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Starting stationeers dedicated server"
|
||||||
|
echo > /server.log
|
||||||
|
|
||||||
|
./stationeers-dd/rocketstation_DedicatedServer.x86_64\
|
||||||
|
-file start MyLunarMap Lunar\
|
||||||
|
-logFile "/server.log"\
|
||||||
|
-settings\
|
||||||
|
StartLocalHost true\
|
||||||
|
ServerVisible true\
|
||||||
|
GamePort 27016\
|
||||||
|
UPNPEnabled false\
|
||||||
|
ServerName "MyLunarServer"\
|
||||||
|
ServerPassword "MySuperSecurePassword"\
|
||||||
|
ServerMaxPlayers 6\
|
||||||
|
AutoSave true\
|
||||||
|
SaveInterval 300\
|
||||||
|
ServerAuthSecret "MySuperSecureSecret"\
|
||||||
|
UpdatePort 27015\
|
||||||
|
AutoPauseServer true\
|
||||||
|
UseSteamP2P false\
|
||||||
|
LocalIpAddress 0.0.0.0\
|
||||||
|
& tail -f /server.log
|
||||||
Loading…
Add table
Add a link
Reference in a new issue