Giter Site home page Giter Site logo

spt-docker-fika's Introduction

single-player-tarkov-docker

Private Dockerfile to build a docker container for Single-Player-Tarkov

README на Русском языке

Requirements

Debian or another Linux distr
Docker
git LFS

Docker Support

Volumes

Two volumes are added:

  • /app/Aki_Data/Server contains standard SPT-Aki.Server database and configuration files. For example, http.json or profiles.json The container will copy standard Aki Server files to this volume if emty (i.e. mounted by the very first time)
  • /app/user with the standard server configuration (will be created on first login)
    • ./profiles contains the player profiles created
    • ./mods installed server mods go here
    • ./logs server logs will appear here

Enviroment Variables

  • SPT_LOG_REQUESTS when false, disables SPT-AKI Request Logging
  • SPT_BACKEND_IP when present, used in http.conf as backendIp property

Feel free to play yourself with the different setups and configs.

How to build

Update SPT_VERSION Dockerfile ARG with the desired tag You can look for the most recent tag with git describe --tags --abbrev=0 The way SPT is organizing their release is by tags on release branches. 3.8.0 was not released as a tag on master as it was done before. Note: It can be a good idea to evolve the Dockerfile to include SPT_VERSION for the branch and always use latest tag)

git clone https://dev.sp-tarkov.com/Cbr/spt-docker.git
cd spt-docker
docker buildx build -f Dockerfile -t cbr/spt:latest ./

Running

mkdir /opt/spt-aki && mkdir /opt/spt-aki/Server && mkdir /opt/spt-aki/user
docker run --name spt-aki -v /opt/spt-aki/Server:/app/Aki_Data/Server -v /opt/spt-aki/user:/app/user -e SPT_LOG_REQUESTS=false -e SPT_BACKEND_IP='External ip' -p 6969:6969 cbr/spt:latest -d

Where "External IP" - this is the IP address you need - your external IP, local host IP address or received in the VPN network.

Additionally, a compose.yml file has been provided for the shake of convenience.


spt-docker-fika's People

Contributors

tarodbofh avatar zuedev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.