You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add Autoheal and avatarfile loading.
* Add memory limit, and volume mounting instead of using native os filesystem.
* Correction in wording.
* Adds some insight in steps.
* More detail on scaling.
Copy file name to clipboardExpand all lines: content/docs/server/headless.mdx
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Make a folder for the `docker-compose.yml` and copy the example below.
65
65
Start a Command Prompt or Powershell in that directory. When using file explorer you can launch Command Prompt by typing `cmd.exe` in the url bar or explorer.
66
66
</Step>
67
67
<Step>
68
-
First download/update the docker images with `docker compose pull`
68
+
First download/update the docker images with `docker compose pull`*Not required if using the default `docker-compose.yml`*
69
69
</Step>
70
70
<Step>
71
71
Type the command `docker compose up -d` to start the containers
@@ -76,7 +76,7 @@ Use `docker ps` to see the health of all containers and wait until all say healt
76
76
<Step>
77
77
Use `docker compose scale "basis-headless=#` to increase the number of containers. Than go back to a step and repeat until either you out of CPU or RAM.
78
78
79
-
*Replace `#` with a number in increments of 5*
79
+
*Replace `#` with a number in increments of 5 at most, use increments of 1 on lower end/Ram limited hardware*
80
80
81
81
<Callouttype="info">
82
82
You can also measure usage with `docker compose stats`
@@ -98,7 +98,7 @@ By Default use the linux version of the docker image as its built using IL2CPP a
scale: 3# You should change based on how much RAM you have. 1.5GB per instance is normally required.
101
+
pull_policy: always
102
102
environment:
103
103
Port: 4296
104
104
Password: default_password
@@ -110,15 +110,21 @@ services:
110
110
AvatarFileLocation: ""
111
111
AvatarPassword: ""
112
112
volumes:
113
-
- ./Basis:/root/.config/unity3d/Basis Unity/Basis Unity # For Sharing Cached files. Optional not required
114
-
- "${APPDATA}/../LocalLow/Basis Unity/Basis Unity:/root/.config/unity3d/Basis Unity/Basis Unity"# If you want to use your own cache and avatar files. *Corruption possible
113
+
- Basis:/root/.config/unity3d/Basis Unity/Basis Unity # For Sharing Cached files. If running on Windows you should do it this way.
114
+
- "${APPDATA}/../LocalLow/Basis Unity/Basis Unity:/root/.config/unity3d/Basis Unity/Basis Unity"# If you want to use your own cache and avatar files. Slower on Windows as its having the overhead from WSL2 *Corruption possible
115
115
- ./config.xml:/app/HeadlessLinuxServer_Data/config.xml # Optional will be overridden when using environment variables
0 commit comments