Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML File Example on wiki for Linux server missing information #212

Open
SV-Engineer opened this issue Sep 10, 2023 · 1 comment
Open

YAML File Example on wiki for Linux server missing information #212

SV-Engineer opened this issue Sep 10, 2023 · 1 comment

Comments

@SV-Engineer
Copy link

SV-Engineer commented Sep 10, 2023

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
Copy link
Member

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 ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants