Skip to content

Commit

Permalink
add README
Browse files Browse the repository at this point in the history
  • Loading branch information
AirryCo committed Aug 27, 2024
1 parent 8aa5c3e commit 3bbb849
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Single Player Tarkov - Server Project(community)

This repository is for compiling the SPT server, not for source code. It automatically compiles the SPT code daily at midnight and pushes the compiled version to the releases. The compiled `.zip` file is intended for use with Windows. If you need the Linux version, please refer to the tutorial below.

You also can find lanucher and modules from [here](https://dev.sp-tarkov.com/medusa/spt-build-ci/releases)

[![SPT-Server Build Nightly On Schedule](https://github.com/AirryCo/spt-server-ci/actions/workflows/build-nightly-cron.yaml/badge.svg)](https://github.com/AirryCo/spt-server-ci/actions/workflows/build-nightly-cron.yaml)

[![SPT-Server Manual Build](https://github.com/AirryCo/spt-server-ci/actions/workflows/build-nightly-manual.yaml/badge.svg)](https://github.com/AirryCo/spt-server-ci/actions/workflows/build-nightly-manual.yaml)

## How to use

### For windows

1. go to https://github.com/AirryCo/spt-server-ci/releases

2. download the `.zip` file

3. use extraction software to unzip the files

4. then run `SPT.Server.exe`

5. run `SPT.Launcher` to connect

### For linux

repository(community): https://dev.sp-tarkov.com/medusa/spt-server

registry: https://dev.sp-tarkov.com/medusa/-/packages/container/spt-server/nightly

Docker Hub: https://hub.docker.com/r/stblog/spt-server

1. use docker shell

```bash
docker pull dev.sp-tarkov.com/medusa/spt-server:nightly
docker run -d --name spt-server -v ./spt-server:/opt/spt-server -e backendIp=192.168.1.1 -e backendPort=6969 -p 6969:6969 dev.sp-tarkov.com/medusa/spt-server:nightly
```

2. or use docker compose

```yaml
services:
spt-server:
image: dev.sp-tarkov.com/medusa/spt-server:nightly
container_name: spt-server
hostname: spt-server
restart: unless-stopped
volumes:
- ./spt-server:/opt/spt-server
network_mode: host
environment:
- backendIp=192.168.1.1
- backendPort=6969
```

0 comments on commit 3bbb849

Please sign in to comment.