Barotrauma dedicated server in an ubuntu 20 based Docker container
- Dockerfile 73%
- Shell 27%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| Dockerfile | ||
| entrypoint.sh | ||
| LICENSE | ||
| README.md | ||
| splash.txt | ||
Barotrauma-Docker
Barotrauma dedicated server in a Ubuntu 20 Docker container.
Based on the steamcmd Docker image
File structure
The file structure within the container is as follows:
📁home/
├─ 📁baro/
│ ├─📁.local
│ │ ├─📁share
| | | ├─📁Daedalic Entertainment GmbH
| | | | ├─📁Barotrauma
| | | | | ├─ Save files here
📁server/
├─ Server files here
To customise settings, use a volume bound to /server. Default config files will be added if none are provided.
To preserve saves, add a volume for /home/steam/.local/share/Daedalic Entertainment GmbH/Barotrauma.
Running
Docker CLI
docker run \
-p 27015:27015/udp \
-p 27016:27016/udp \
-v barotrauma-server:/server \
-v "barotrauma-data:/home/steam/.local/share/Daedalic Entertainment GmbH/Barotrauma" \
code.ggrainger.uk/ggrainger/barotrauma-docker
Docker Compose
version: "3.8"
services:
barotrauma:
image: code.ggrainger.uk/ggrainger/barotrauma-docker
ports:
- 27015:27015/udp
- 27016:27016/udp
volumes:
- ./server:/server
- ./data:/home/steam/.local/share/Daedalic Entertainment GmbH/Barotrauma