YAML File Example on wiki for Linux server missing information
Opened this issue · 1 comments
SV-Engineer commented
The code block below is taken from here.
version: "3"
services:
northstar-attrition:
image: ghcr.io/pg9182/northstar-dedicated:1-tf2.0.11.0
pull_policy: always
environment:
NS_PORT: 37015
# uncomment for Northstar v1.12 and older
#NS_PORT_AUTH: 8081
NS_SERVER_NAME: "Enter Server Name here"
NS_SERVER_DESC: "Enter your description here"
NS_EXTRA_ARGUMENTS: |
+setplaylist aitdm # Attrition
+mp_gamemode aitdm # Attrition
+map mp_angel_city
+ns_private_match_countdown_length 0
+ns_should_return_to_lobby 0
+net_compresspackets_minsize 64
+net_compresspackets 1
+spewlog_enable 0
+sv_maxrate 127000
volumes:
- /home/YOUR_USERNAME_HERE/Titanfall2:/mnt/titanfall:ro
- /home/YOUR_USERNAME_HERE/Titanfall2/mods:/mnt/mods:ro
ports:
- "37015:37015/udp"
restart: always
Under volumes:
there should be a line:
`- /home/YOUR_USERNAME_HERE/Titanfall2/save_data/:/mnt/save_data/:ro`.
At least I had to add this line to get the latest version(s) (1.18.0+) working in docker. Have not tried older versions.
GeckoEidechse commented
What's the image tag you tried it on? There was a bug in a recent Docker image (pg9182/northstar-dedicated#62) that should be fixed on 1.20230908.git550733e-tf2.0.11.0-ns1.18.1
.
Although I agree that we should give an example on how to mount save_data
folder ^^