shibdib / MPT.Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MPT - 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.

(for 3.8.0 - see the example)


How to use this Repo?

  1. Install DOCKER

  2. git clone https://github.com/shibdib/MPT.Docker

  3. cd MPT.Docker

  4. Build the server:

    docker build \
       --build-arg SIT=c4520ddbe9b1917b1ca85b106b0c48d81aef59ce \
       --label MPT \
       -t mpt .

    Same, but in one line:

    docker build --build-arg SIT=c4520ddbe9b1917b1ca85b106b0c48d81aef59ce --label MPT -t mpt .

    Windows dont handle the \, use the oneliner!

  5. Run the image once:

    docker run --pull=never -v $PWD/server:/opt/server -p 6969:6969 -p 6970:6970 -it --name mpt mpt
    • ⚠️ If you don't set the -v (volume), you won't be able to do a required step!
  6. Go to your ./server directory, delete delete_me, and optionally install additional mods, make config changes, etc.

    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 the ports to listen on all interfaces.

  7. Start your server...

docker start mpt
  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

License:MIT License


Languages

Language:Dockerfile 60.6%Language:Shell 39.4%