Skip to content

Docker container which runs a Barotrauma dedicated server using SteamCMD

Notifications You must be signed in to change notification settings

Nucl3arF1end/barotrauma-dedicated-server-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barotrauma Dedicated Server (Docker)

Docker container which runs a Barotrauma dedicated server using SteamCMD. The server uses the default ports (27015/udp & 27016/udp) and is exposed as public by default.

How to run

Just run the command...

  docker run \
    --env BAR_PASSWORD=changeme! \
    --env BAR_NAME=ServerNameHere \
    --env BAR_SERVERMESSAGE="Put ServerMessage here." \
    --env BAR_START_WHEN_CLIENTS_READY=True \
    --env BAR_START_WHEN_CLIENTS_READY_RATIO=0.8 \
    --env BAR_PERMISSIONS=InGameUsername1:Steam64ID1:Perm1,Perm2:Command1,Command2;InGameUsername2:Steam64ID2:Perm2.1:InGameUsername3:Steam64ID3:Perm3.1:Command3.1,Command3.2,Command3.3 \
    -p 27015:27015/udp \
    -p 27016:27016/udp \
    -v submarines:/home/steam/barotrauma-dedicated/Submarines/github \
    -v saves:"/home/steam/.local/share/Daedalic Entertainment GmbH/Barotrauma/Multiplayer" \
    --name barotrauma-server \
    goldfish92/barotrauma-dedicated-server

OR

docker-compose up -d

Change the environment variables for password and server name to customize your server.

Subamarines

Mount a volume when running the container to include additional custom submarines. For example

-v submarines:/home/steam/barotrauma-dedicated/Submarines/github

mounts the volume submarines on the host into the Barotrauma Submarine directory into a subdirectory called github.

Multiplayer Saves

Mount a volume when running the container to persist multiplayer saves between container starts. For example

-v saves:"/home/steam/.local/share/Daedalic Entertainment GmbH/Barotrauma/Multiplayer"

mounts the volume saves on the host into the Barotrauma Multiplayer directory where saves are created. These save files can then be accessed on the host or mounted between container restarts.

submarines и saves вынесены в директорию проекта, примаплены в докер.

About

Docker container which runs a Barotrauma dedicated server using SteamCMD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 52.7%
  • Dockerfile 47.3%