mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2025-01-03 08:32:45 +01:00
Update README.md
This commit is contained in:
parent
a20b24a61a
commit
0317006741
@ -23,9 +23,8 @@ Web API and NBlood server launcher service in .NET Core
|
|||||||
## Deploy the server onto GNU/Linux
|
## Deploy the server onto GNU/Linux
|
||||||
1. Install Docker and wget (if you don't have already), for example like this: `sudo snap install docker && sudo apt install wget -y`
|
1. Install Docker and wget (if you don't have already), for example like this: `sudo snap install docker && sudo apt install wget -y`
|
||||||
2. Download the Dockerfile: `wget https://raw.githubusercontent.com/CommonLoon102/NBloodServerSupervisor/master/Dockerfile --directory-prefix=supervisor`
|
2. Download the Dockerfile: `wget https://raw.githubusercontent.com/CommonLoon102/NBloodServerSupervisor/master/Dockerfile --directory-prefix=supervisor`
|
||||||
3. Switch to the new `supervisor` directory: `cd supervisor`
|
3. Build the Docker image: `sudo docker build -t nblood-supervisor:latest supervisor`
|
||||||
4. Build the Docker image: `sudo docker build -t nblood-supervisor:latest .`
|
4. Navigate to your Blood 1.21 directory where you have these files:
|
||||||
5. Navigate to your Blood 1.21 directory where you have these files:
|
|
||||||
- BLOOD.INI
|
- BLOOD.INI
|
||||||
- BLOOD.RFF
|
- BLOOD.RFF
|
||||||
- GUI.RFF
|
- GUI.RFF
|
||||||
@ -33,8 +32,8 @@ Web API and NBlood server launcher service in .NET Core
|
|||||||
- SURFACE.DAT
|
- SURFACE.DAT
|
||||||
- TILES000.ART-TILES017.ART
|
- TILES000.ART-TILES017.ART
|
||||||
- VOXEL.DAT
|
- VOXEL.DAT
|
||||||
6. Run a Docker container from there: `sudo docker run --volume "$PWD":/supervisor/publish/blood --network=host --detach nblood-supervisor`
|
5. Run a Docker container from there: `sudo docker run --volume "$PWD":/supervisor/publish/blood --network=host --detach nblood-supervisor`
|
||||||
7. Optional: You can see the ApiKey here:
|
6. Optional: You can see the ApiKey here:
|
||||||
- `sudo docker run -it nblood-supervisor /bin/bash`
|
- `sudo docker run -it nblood-supervisor /bin/bash`
|
||||||
- `cat /supervisor/publish/appsettings.json | grep 'ApiKey'`
|
- `cat /supervisor/publish/appsettings.json | grep 'ApiKey'`
|
||||||
- `exit`
|
- `exit`
|
||||||
|
Loading…
Reference in New Issue
Block a user