Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Network Specifics

Port14242
TCP/UDPUDP

...


Setup the Server to run in Docker


Download the Linux distribution from http://undertowgames.com/games/barolegacy/

> wget https://mega.nz/#!TBAijQRT!Azf5R5jkKh8IvuubjTSkmCCMbgk6o_IJWRz57XomJkY


Extract the files

> tar xvfz Barotrauma\ v0.8.2.3.tar.gz


Rename the folder to server

> mv Barotrauma\ v0.8.2.3/ server


Download the serversettings.xml file

> cd server

> wget https://raw.githubusercontent.com/Regalis11/Barotrauma/master/Barotrauma/BarotraumaShared/serversettings.xml


Modify the Launch_BarotraumaServer script

> vi Launch_BarotraumaServer

Code Block
#!/bin/sh
cd /server
exec mono "/server/BarotraumaServer.exe" "$@"


Create a script to create the docker container

> vi buildDocker.sh

Code Block
titleDockerfile
CONTAINER=barotrauma
IMAGE=mono:latest
docker stop $CONTAINER
docker rm $CONTAINER
DIR=`pwd -P`

docker run --name $CONTAINER \
--restart=always \
-v $DIR/server:/server \
-p 14242:14242 \
--entrypoint "/server/Launch_BarotraumaServer" \
-d $IMAGE

docker logs -f $CONTAINER

tar xvf 


> Run the script

> buildDocker.sh> wget https://raw.githubusercontent.com/Regalis11/Barotrauma/master/Barotrauma/BarotraumaShared/serversettings.xml


Reference

ReferenceURL
Download Linkhttp://undertowgames.com/games/barolegacy/
Server Setup Video

Widget Connector
urlhttps://www.youtube.com/watch?v=q9be-K_m6bw

Readme fileREADME.txt
Mono Office Docker Imagehttps://hub.docker.com/_/mono?tab=description
Mono Projecthttps://www.mono-project.com/

...