mirror of
https://github.com/LiamAEdwards/SS14-Docker-Linux-Server.git
synced 2026-02-15 01:14:39 +01:00
Update README.md
This commit is contained in:
31
README.md
31
README.md
@@ -16,8 +16,6 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 📖 Overview
|
### 📖 Overview
|
||||||
|
|
||||||
This project is for those who prefer containerized solutions, making server deployment and management a breeze. It's based on the [official documentation](https://docs.spacestation14.com/en/general-development/setup/server-hosting-tutorial.html) but wrapped up in a Docker container for convenience.
|
This project is for those who prefer containerized solutions, making server deployment and management a breeze. It's based on the [official documentation](https://docs.spacestation14.com/en/general-development/setup/server-hosting-tutorial.html) but wrapped up in a Docker container for convenience.
|
||||||
@@ -36,6 +34,8 @@ This project is for those who prefer containerized solutions, making server depl
|
|||||||
|
|
||||||
3. **Run the Server**
|
3. **Run the Server**
|
||||||
|
|
||||||
|
Using Docker directly:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-p 1212:1212/tcp \
|
-p 1212:1212/tcp \
|
||||||
@@ -46,5 +46,30 @@ This project is for those who prefer containerized solutions, making server depl
|
|||||||
ghcr.io/liamaedwards/ss14-docker-linux-server:main
|
ghcr.io/liamaedwards/ss14-docker-linux-server:main
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
Or using Docker Compose:
|
||||||
|
|
||||||
|
First, create a `docker-compose.yml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
ss14-server:
|
||||||
|
image: ghcr.io/liamaedwards/ss14-docker-linux-server:main
|
||||||
|
ports:
|
||||||
|
- "1212:1212/tcp"
|
||||||
|
- "1212:1212/udp"
|
||||||
|
- "5000:5000/tcp"
|
||||||
|
- "5000:5000/udp"
|
||||||
|
volumes:
|
||||||
|
- /path/on/host:/ss14
|
||||||
|
restart: always
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, run with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user