aboutsummaryrefslogtreecommitdiff
path: root/docs/hosting-a-server-with-northstar/dedicated-server
diff options
context:
space:
mode:
authorJoCa96 <jonathanleocarle@gmail.com>2023-04-20 15:14:55 +0200
committerGitHub <noreply@github.com>2023-04-20 15:14:55 +0200
commit6f549111ed76e05fe3de57d7e4d8c42e79220a2b (patch)
treea32d9eaaac7a932cb934e21220c510766c34c42c /docs/hosting-a-server-with-northstar/dedicated-server
parentc6755bdf4273f899f9f0e50b64f39f052c0f28a3 (diff)
downloadNorthstarWiki-6f549111ed76e05fe3de57d7e4d8c42e79220a2b.tar.gz
NorthstarWiki-6f549111ed76e05fe3de57d7e4d8c42e79220a2b.zip
Fix invalid `docker-compose.yaml` example (#156)
fix(hosting-on-linux): invalid docker-compose.yaml
Diffstat (limited to 'docs/hosting-a-server-with-northstar/dedicated-server')
-rw-r--r--docs/hosting-a-server-with-northstar/dedicated-server/hosting-on-linux.md52
1 files changed, 26 insertions, 26 deletions
diff --git a/docs/hosting-a-server-with-northstar/dedicated-server/hosting-on-linux.md b/docs/hosting-a-server-with-northstar/dedicated-server/hosting-on-linux.md
index d53e095..b8bd2c0 100644
--- a/docs/hosting-a-server-with-northstar/dedicated-server/hosting-on-linux.md
+++ b/docs/hosting-a-server-with-northstar/dedicated-server/hosting-on-linux.md
@@ -61,33 +61,33 @@ Example `docker-compose.yml` \
(Note that you will have to adjust some lines to make it work on your machine)
```yaml
-version: '3'
+version: "3"
services:
- northstar-attrition:
- image: ghcr.io/pg9182/northstar-dedicated:1-tf2.0.11.0
- pull_policy: always
- environment:
- - NS_PORT=37015
- - 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'
- - '8081:8081/tcp'
- restart: always
+ northstar-attrition:
+ image: ghcr.io/pg9182/northstar-dedicated:1-tf2.0.11.0
+ pull_policy: always
+ environment:
+ NS_PORT: 37015
+ 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"
+ - "8081:8081/tcp"
+ restart: always
```
A list of all the CONVARs are [here](../../hosting-a-server-with-northstar/dedicated-server#convars)