stayintarkov / SIT.Docker

Home Page:https://hub.docker.com/r/stayintarkov/stayintarkov

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stay in Tarkov - Dockerized

Quickly set up your personal Escape from Tarkov server in just 5 minutes..

The Linux Container, that builds the server too

Why? Because everyone should be able to build, and not rely on unknown builds from unknown sources.

Platform independent.


How to use this Repo?

  1. Install DOCKER

  2. git clone https://github.com/stayintarkov/SIT.Docker

  3. cd SIT.Docker

  4. Create a folder for your server, if running as user!

    mkdir server

  5. Build: Equivalent to (pre)release SITCoop-1.6.5-WithAki-3.8.3-449288:

    Running on Linux:
    docker build \
       --no-cache \
       --build-arg SIT=a728b0b1ff21b14774362418d35f14ec523265cc \
       --build-arg SPT=4492882bba506f5751a1f600f3ae60275ad27e64 \
       --label SITCoop \
       -t sitcoop .
    Running on Windows:
    docker build --no-cache --build-arg SIT=a728b0b1ff21b14774362418d35f14ec523265cc --build-arg SPT=4492882bba506f5751a1f600f3ae60275ad27e64 --label SITCoop -t sitcoop .

    For version SITCoop-1.5.1 (0.13.9.1.27622), go here

  6. Run the image once, to populate server folder:

⚠️ IF UPGRADING, use docker run -e FORCE=y [..rest of the command..]

docker run --pull=never -v $PWD/server:/opt/server -p 6969:6969 -p 6970:6970 -p 6971:6971 -it --name sitcoop sitcoop
  • ⚠️ If you don't set the -v (volume), you will not have access to your files.

  • 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 -p 6970:6970 -p 6971:6971 -it --name sitcoop sitcoop

Using -p6969:6969, you expose the port to 0.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 it to listen on all interfaces.

  1. Start your server (and enable auto restart):
docker start sitcoop
docker update --restart unless-stopped sitcoop
  1. ... wait a few seconds, then you can connect to http://YOUR_IP:6969

Bugs and Issues

Let me know if there are any. Feel free to submit a PR.

About

https://hub.docker.com/r/stayintarkov/stayintarkov

License:MIT License


Languages

Language:Dockerfile 52.3%Language:Shell 47.7%