update README

This commit is contained in:
henry
2024-09-19 16:21:23 +08:00
parent a02544ad54
commit c3cae81e9a

View File

@@ -2,9 +2,11 @@
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. 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 can find the lanucher from [SP-Tarkov](https://dev.sp-tarkov.com/medusa/spt-launcher-ci/releases) or [here](https://github.com/AirryCo/spt-launcher-ci/releases) You can find the lanucher from [here](https://github.com/AirryCo/spt-launcher-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 Build Release](https://github.com/AirryCo/spt-server-ci/actions/workflows/build-release-cron.yaml/badge.svg)](https://github.com/AirryCo/spt-server-ci/actions/workflows/build-release-cron.yaml)
[![SPT-Server Build Nightly](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) [![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)
@@ -26,7 +28,7 @@ You can find the lanucher from [SP-Tarkov](https://dev.sp-tarkov.com/medusa/spt-
repository: https://dev.sp-tarkov.com/medusa/spt-server repository: https://dev.sp-tarkov.com/medusa/spt-server
SPT Registry: https://dev.sp-tarkov.com/medusa/-/packages/container/spt-server/nightly ~~SPT Registry: https://dev.sp-tarkov.com/medusa/-/packages/container/spt-server/nightly~~
Docker Hub: https://hub.docker.com/r/stblog/spt-server Docker Hub: https://hub.docker.com/r/stblog/spt-server
@@ -35,8 +37,8 @@ Github Container Registry: https://github.com/AirryCo/spt-server-ci/pkgs/contain
1. use docker shell 1. use docker shell
```bash ```bash
docker pull dev.sp-tarkov.com/medusa/spt-server:nightly docker pull stblog/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 docker run -d --name spt-server -v ./spt-server:/opt/spt-server -e backendIp=192.168.1.1 -e backendPort=6969 -p 6969:6969 stblog/spt-server:nightly
``` ```
2. or use docker compose 2. or use docker compose
@@ -44,7 +46,7 @@ docker run -d --name spt-server -v ./spt-server:/opt/spt-server -e backendIp=192
```yaml ```yaml
services: services:
spt-server: spt-server:
image: dev.sp-tarkov.com/medusa/spt-server:nightly image: stblog/spt-server:nightly
container_name: spt-server container_name: spt-server
hostname: spt-server hostname: spt-server
restart: unless-stopped restart: unless-stopped