aboutsummaryrefslogtreecommitdiff
path: root/docs/hosting-a-server-with-northstar/guides/pg9182-docker-installation-guide.md
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+gitbook@protonmail.com>2022-06-16 15:46:36 +0000
committergitbook-bot <ghost@gitbook.com>2022-06-16 15:46:36 +0000
commit1a76b5e319ef7304081fa63a41b82bb976b9c962 (patch)
treef48fe6106e2c7fa856bbd27928b43f40e8daa8cf /docs/hosting-a-server-with-northstar/guides/pg9182-docker-installation-guide.md
parente08dd64c7930d0e2b9dc0837784f3d03d0151f9c (diff)
downloadNorthstarWiki-1a76b5e319ef7304081fa63a41b82bb976b9c962.tar.gz
NorthstarWiki-1a76b5e319ef7304081fa63a41b82bb976b9c962.zip
GitBook: [#46] Move repo pages to subpage
Diffstat (limited to 'docs/hosting-a-server-with-northstar/guides/pg9182-docker-installation-guide.md')
-rw-r--r--docs/hosting-a-server-with-northstar/guides/pg9182-docker-installation-guide.md151
1 files changed, 79 insertions, 72 deletions
diff --git a/docs/hosting-a-server-with-northstar/guides/pg9182-docker-installation-guide.md b/docs/hosting-a-server-with-northstar/guides/pg9182-docker-installation-guide.md
index ebd61b2..8d5cf62 100644
--- a/docs/hosting-a-server-with-northstar/guides/pg9182-docker-installation-guide.md
+++ b/docs/hosting-a-server-with-northstar/guides/pg9182-docker-installation-guide.md
@@ -1,88 +1,95 @@
---
-description: pg9182 has provided a complete docker image to run on Linux servers. This provides some server management tools and offers better performance. No physical GPU is needed. His github page can be found [here](https://github.com/pg9182/northstar-dedicated) This page is to provide basic instructions, more information and config options are found at pg9182's github.
+description: >-
+ pg9182 has provided a complete docker image to run on Linux servers. This
+ provides some server management tools and offers better performance. No
+ physical GPU is needed. His github page can be found [
---
+# Docker Install
+
The aim of this guide is to show the steps to build a docker-compose container that starts on boot and to show basic configuration
-## <a name="Prerequisites">Prerequisites</a>
+### Prerequisites
-| Requirement | Description
-| ------------------| ---------------------------------------------------------|
-| Kernel | Linux 5.3+, but 4.9+ should work |
-| CPU | x86_64, at least 3 cores minimum |
-| RAM | 2GB (Typically peaks at 1.6GB) |
-| Disk | 5GB |
-| Network | Recommended at least 7-20Mbps up |
-| Docker | Have Docker and Docker-compose installed on the machine |
+| Requirement | Description |
+| ----------- | ------------------------------------------------------- |
+| Kernel | Linux 5.3+, but 4.9+ should work |
+| CPU | x86\_64, at least 3 cores minimum |
+| RAM | 2GB (Typically peaks at 1.6GB) |
+| Disk | 5GB |
+| Network | Recommended at least 7-20Mbps up |
+| Docker | Have Docker and Docker-compose installed on the machine |
+### Installation
-## <a name="Installation">Installation</a>
+#### Prep Titanfall Server files
-### Prep Titanfall Server files
-You will need to copy over your Titanfall installation folder and place it on the Linux machine. Most of these files are for SP and therefore we can delete from the installation folder and prune the file size down to ~5GB.
+You will need to copy over your Titanfall installation folder and place it on the Linux machine. Most of these files are for SP and therefore we can delete from the installation folder and prune the file size down to \~5GB.
-Easiest way to do this is copy the entire Titanfall2 folder to your desktop and delete the [following files](https://github.com/pg9182/northstar-dedicated#reducing-the-size-).
+Easiest way to do this is copy the entire Titanfall2 folder to your desktop and delete the [following files](https://github.com/pg9182/northstar-dedicated#reducing-the-size-).
-### Copy Titanfall Folder over to the Linux Machine
+#### Copy Titanfall Folder over to the Linux Machine
-1. Access the files on your Linux machine using tools like [Filezilla](https://filezilla-project.org/) or [WinSCP](https://winscp.net/eng/download.php)
+1. Access the files on your Linux machine using tools like [Filezilla](https://filezilla-project.org/) or [WinSCP](https://winscp.net/eng/download.php)
2. Navigate to `/mnt/Titanfall` (create directory if does not exist)
-3. Copy the newly pruned Titanfall folder to the server.
+3. Copy the newly pruned Titanfall folder to the server.
![/mnt/Titanfall/](https://i.postimg.cc/15HbbzFr/image.pnghttps://i.postimg.cc/15HbbzFr/image.png)
-### Copy mods to /mnt/mods
-If you have configured some mods,these can be placed at '/mnt/mods` like below
-![/mnt/mods](https://i.postimg.cc/tRD5jnrJ/image.png)
-
-### Create docker-compose file
-We are going to be using Docker-Compose to set up our container, this gives us much more flexibility and allows us to make changes to the start up args much cleaner.
- ```
- mkdir Titanfall
- nano docker-compose.yml
- ```
-
- Example docker-compose.yml
-
- ```yaml
- version: '3'
- services:
- northstar1:
- 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=[Region]Enter Server Name here'
- - 'NS_SERVER_DESC=Enter your description here'
- - |
- NS_EXTRA_ARGUMENTS=
- +setplaylist aitdm
- +mp_gamemode aitdm
- +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:
- - /mnt/Titanfall:/mnt/Titanfall:ro
- - /mnt/mods:/mnt/mods:ro
- ports:
- - '37015:37015/udp'
- - '8081:8081/tcp'
- restart: always
- ```
- A list of all the CONVARs are [here](../../basic-listen-server#server-configuration)
-
- ## <a name="Starting">Starting</a>
-
-### Run the following command
-
- To run this container type
- ```
- docker-compose up
- ```
-
-
+#### Copy mods to /mnt/mods
+
+If you have configured some mods,these can be placed at '/mnt/mods\` like below ![/mnt/mods](https://i.postimg.cc/tRD5jnrJ/image.png)
+
+#### Create docker-compose file
+
+We are going to be using Docker-Compose to set up our container, this gives us much more flexibility and allows us to make changes to the start up args much cleaner.
+
+```
+mkdir Titanfall
+nano docker-compose.yml
+```
+
+Example docker-compose.yml
+
+```yaml
+version: '3'
+services:
+ northstar1:
+ 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=[Region]Enter Server Name here'
+ - 'NS_SERVER_DESC=Enter your description here'
+ - |
+ NS_EXTRA_ARGUMENTS=
+ +setplaylist aitdm
+ +mp_gamemode aitdm
+ +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:
+ - /mnt/Titanfall:/mnt/Titanfall:ro
+ - /mnt/mods:/mnt/mods:ro
+ ports:
+ - '37015:37015/udp'
+ - '8081:8081/tcp'
+ restart: always
+```
+
+A list of all the CONVARs are [here](../../basic-listen-server/#server-configuration)
+
+### Starting
+
+#### Run the following command
+
+To run this container type
+
+```
+docker-compose up
+```