Skip to content

Commit d4caedd

Browse files
authored
Update README.md and prepare new version (#35)
* update readme * update version * re-order foot notes
1 parent dca46a2 commit d4caedd

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM debian:bookworm-slim
22

33
LABEL org.opencontainers.image.title="SCUM Server"
44
LABEL org.opencontainers.image.description="Docker image for running a SCUM game server with Wine and SteamCMD on Debian Bookworm"
5-
LABEL org.opencontainers.image.version="1.4.0"
5+
LABEL org.opencontainers.image.version="2.2.0"
66
LABEL org.opencontainers.image.authors="EvilOlaf"
77
LABEL org.opencontainers.image.url="https://github.com/EvilOlaf/scum"
88
LABEL org.opencontainers.image.source="https://github.com/EvilOlaf/scum"

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ Need different time or interval but lacking knowledge of cron? Check [crontab.gu
6969
7070
In your `docker-compose.yml` set `ADDITIONALFLAGS=-nobattleye`.
7171
72+
### How to configure memory watchdog[^4]
73+
74+
```yaml
75+
environment:
76+
- MEMORY_THRESHOLD_PERCENT=95 # Stop SCUM server when system-wide memory usage exceeds %. Set 0 to disable
77+
- MEMORY_CHECK_INTERVAL=60 # Check interval in seconds
78+
```
79+
7280
### :question: Which Docker image? `main` or `latest`?
7381
7482
Images tagged as `latest` are **tested and known to work.**[^3]
@@ -78,7 +86,7 @@ Any other tag represents active development and/or automated **untested** builds
7886
7987
I am certain some port exposures are unnecessary. However, I could not find clear documentation on which ports and protocols are actually required. The SCUM server's port calculation behaviour doesn't help either. Exposing additional ports should not cause any harm.
8088
81-
This image started as reverse-engineered[^4] version of the *j0s0n/scum-wine* Docker image. It attempts to fix some of its issues relating to updates and restarts and perhaps adds some enhancements. All credit for the initial work goes to j0s0n.
89+
This image started as reverse-engineered[^5] version of the *j0s0n/scum-wine* Docker image. It attempts to fix some of its issues relating to updates and restarts and perhaps adds some enhancements. All credit for the initial work goes to j0s0n.
8290
8391
[^1]: Use `docker compose logs -f` to check the process.
8492
Once you see something like `scum-server | LogBattlEye: Display: Config entry: MasterPort 8037`
@@ -88,7 +96,10 @@ in the logs, your game server should be ready to accept player connections.
8896
8997
[^3]: After the SCUM game server has fully started with the specific Docker image, I launch my game client and connect to it. If I can join the game and play a bit without issues, I consider the image *tested and working*.
9098
91-
[^4]: As the author of the original image [seems reluctant to provide the *Dockerfile*](https://steamcommunity.com/app/513710/discussions/0/603033663617122208/?ctp=3#c678482693017642366), I decided to take matters into my own hands.
99+
[^4]: SCUM game server is known for having memory leaks due to poor design which is the reason most servers are restarted every few hours. If a server runs for too long or suffers from low memory initially, it could run out of memory and therefore being forcefully killed causing potential data loss and/or corruption.
100+
This feature is trying to prevent this by initiating a graceful shutdown when the system-wide memory usage exceeds a specific value.
101+
102+
[^5]: As the author of the original image [seems reluctant to provide the *Dockerfile*](https://steamcommunity.com/app/513710/discussions/0/603033663617122208/?ctp=3#c678482693017642366), I decided to take matters into my own hands.
92103
For the reason above the original image should be considered closed-source/proprietary.
93104
94105
[![EvilOlaf - scum](https://img.shields.io/static/v1?label=EvilOlaf&message=scum&color=blue&logo=github)](https://github.com/EvilOlaf/scum "Go to GitHub repo")

0 commit comments

Comments
 (0)