From 07e6911ddc1d9afd6449f7cc21376ea73c9cb213 Mon Sep 17 00:00:00 2001 From: "Carlos M. Martinez" Date: Sun, 28 Jan 2024 11:59:04 -0500 Subject: [PATCH] Updated readme --- README.md | 4 ++++ docker-compose.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a978fa..3ad7dc8 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ services: image: thijsvanloef/palworld-server-docker:latest restart: unless-stopped container_name: palworld-server + stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop ports: - 8211:8211/udp - 27015:27015/udp @@ -95,6 +96,9 @@ docker run -d \ ``` +> [!TIP] +> If you want to stop the container with a custom stop grace period then run: `docker stop --name palworld-server --time 30` + ### Kubernetes All files you will need to deploy this container to kubernetes are located in the [k8s folder](k8s/). diff --git a/docker-compose.yml b/docker-compose.yml index e0bb97d..ef5491a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: image: thijsvanloef/palworld-server-docker:latest restart: unless-stopped container_name: palworld-server - stop_grace_period: 30s + stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop ports: - 8211:8211/udp - 27015:27015/udp # Required if you want your server to show up in the community servers tab