Platform independent.
This fork simply removes the SIT(stayintarkov) requirements to make a generic SPT-Aki server. Huge thanks to devbence/bullet for the original project.
-
Install DOCKER
-
git clone https://github.com/umbraprior/SPT.Docker
-
cd SPT.Docker
-
Build the server for your requested version, (you can change the
--build-arg
to the full commit hash from the SPT/Server Gitea Page)Equivalent to release SPT-Aki-3.8.3-4492882 (0.14.1.2.29197):
docker build \ --no-cache \ --build-arg SPT=4492882bba506f5751a1f600f3ae60275ad27e64 \ --label SPTAki \ -t sptaki .
Same, but in one line:
docker build --no-cache --build-arg SPT=4492882bba506f5751a1f600f3ae60275ad27e64 --label SPTAki -t sptaki .
Caution
Windows doesn't handle the \, use the oneliner!
-
Run the image once:
docker run --pull=never -v $PWD/server:/opt/server -p 6969:6969 -it --name sptaki sptaki
-
⚠️ If you don't set the -v (volume), you won't be able to do a required step! -
On Linux you can include
--user $(id -u):$(id -g)
, this way, file ownership will be set to the user who started the container.
docker run --pull=never --user $(id -u):$(id -g) -v $PWD/server:/opt/server -p 6969:6969 -it --name sptaki sptaki
-
-
Go to your
./server
directory, deletedelete_me
, and optionally install additional mods, make config changes, etc.Using
-p6969:6969
, you expose the port to0.0.0.0
(meaning: open for LAN, localhost, VPN address, etc).You can specify
-p 192.168.12.34:6969:6969
for each port if you don't want the ports to listen on all interfaces. -
Start your server (and enable auto restart):
docker start sptaki docker update --restart unless-stopped sptaki
-
... wait a few seconds, then you can connect to
http://YOUR_IP:6969
in Aki.Launcher
Note
Unraid seems to build the server in a separate, unlabeled image. This will use ~10G of Docker vDisk and will not be automatically removed. Remove the unlabeled image after first run.
Let me know if there are any. Feel free to submit a PR.