https://github.com/silentmecha/no-one-survived-server
No One Survived server on linux inside of Docker
https://github.com/silentmecha/no-one-survived-server
docker docker-compose noonesurvived server
Last synced: 2 months ago
JSON representation
No One Survived server on linux inside of Docker
- Host: GitHub
- URL: https://github.com/silentmecha/no-one-survived-server
- Owner: silentmecha
- License: mit
- Created: 2024-11-08T12:17:39.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-18T10:49:19.000Z (over 1 year ago)
- Last Synced: 2025-09-12T17:14:05.627Z (10 months ago)
- Topics: docker, docker-compose, noonesurvived, server
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/silentmecha/no-one-survived-server
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hub.docker.com/r/silentmecha/no-one-survived-server)
[](https://hub.docker.com/r/silentmecha/no-one-survived-server)
[](https://www.buymeacoffee.com/silent001)
# silentmecha/no-one-survived-server
This repository contains the files needed to build and run a Docker image for a No One Survived dedicated server. This image is built on Ubuntu and is specifically designed for quickly setting up a No One Survived server. It uses a customized version of `steamcmd/steamcmd:ubuntu-24`, which includes additional programs, environment variables, and a dedicated USER account to ensure easy server creation and consistent configuration across instances. The image is optimized for streamlined deployment and management of **No One Survived** servers with all necessary dependencies and settings pre-configured.
> **Warning:** The latest version on Docker Hub may be out of date. Please check the GitHub repository for the most recent updates.
> **Note:** This image does not yet set all the settings for the server according to the ENV values. This is still a work in progress.
## Usage
This stack uses an image from [atmoz](https://github.com/atmoz). To see more on the image used visit their GitHub [https://github.com/atmoz/sftp](https://github.com/atmoz/sftp).
For more info on environment variables and what they do see [Environment Variables](#environment-variables)
### Available Tags
- `base`: Contains only the environment setup, excluding the game files.
- `latest`: Includes the game files needed for the server.
### Simplest Method
The simplest usage for this is using the `docker-compose` method to pull the `latest` image and run it.
```console
git clone https://github.com/silentmecha/no-one-survived-server.git no-one-survived-server
cd no-one-survived-server
cp .env.example .env
nano .env
docker-compose pull
docker-compose up -d
```
### Using the `base` tag
If you don't want to pull the entire image and don't need to keep multiple instances up to date, you can use the `base` tag.
```console
git clone https://github.com/silentmecha/no-one-survived-server.git no-one-survived-server
cd no-one-survived-server
cp .env.example .env
nano .env
docker-compose -f docker-compose.base.yml up -d
```
### Building Locally
If you prefer to build everything locally, you can start by building the `base` image and then the `latest` image.
```console
git clone https://github.com/silentmecha/no-one-survived-server.git no-one-survived-server
cd no-one-survived-server
cp .env.example .env
nano .env
docker build -f base.Dockerfile -t silentmecha/no-one-survived-server:base -t silentmecha/no-one-survived-server:latest .
docker build -f Dockerfile -t silentmecha/no-one-survived-server:latest .
docker-compose up -d
```
### Updating
Updating is now as simple as running a build on the `Dockerfile` or using `docker-compose build`. This will update the image without downloading all the game files again.
```console
docker-compose build
docker-compose up -d
```
### Environment Variables
| Variable Name | Default Value | Description |
|---------------------|------------------|--------------------------------------------------------------------------------|
| MAP | Map01 | Type of map to play on currently there is only two options `Map01` and `Map02` |
| SESSIONNAME | DockerTestServer | Name of your server as seen in server browser (accepts spaces) |
| SERVERPASSWORD | | Password to enter your server |
| SERVERADMINPASSWORD | ChangeMe | Admin access password (also know as RCON password) |
| MAXPLAYERS | 20 | Maximum number of players |
| PORT | 7777 | Port used to connect to the server |
| QUERYPORT | 27015 | Port used to query the server |
| SFT_USER | foo | Username for SFTP access to edit save data |
| SFT_PASS | pass | Password for SFTP access to edit save data |
| SFT_PORT | 2222 | Port for SFTP access (should not be 22 ) |
For more info on the usage of SFTP see [here](https://github.com/atmoz/sftp). If you do not want to use a plain text password see [encrypted-password](https://github.com/atmoz/sftp#encrypted-password)
### Ports
Currently the following ports are used.
| Port | Type | Default |
| ---------------- | ---- | ------- |
| PORT | UDP | 7777 |
| QUERYPORT | UDP | 27015 |
| SFT_PORT | TCP | 2222 |
All these ports need to be forwarded through your router except for `SFT_PORT` unless you wish to remotely edit the save data.
## License
This project is licensed under the [MIT License](LICENSE).
If you enjoy this project and would like to support my work, consider [buying me a coffee](https://www.buymeacoffee.com/silent001). Your support is greatly appreciated!