From 39af90e87cbce35e0f31952ae775680d27ab8bed Mon Sep 17 00:00:00 2001 From: "Carlos M. Martinez" Date: Sat, 27 Jan 2024 06:08:01 -0500 Subject: [PATCH 1/3] Added setting graceful stop period --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 592f520..e0bb97d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,7 @@ services: image: thijsvanloef/palworld-server-docker:latest restart: unless-stopped container_name: palworld-server + stop_grace_period: 30s ports: - 8211:8211/udp - 27015:27015/udp # Required if you want your server to show up in the community servers tab From 07e6911ddc1d9afd6449f7cc21376ea73c9cb213 Mon Sep 17 00:00:00 2001 From: "Carlos M. Martinez" Date: Sun, 28 Jan 2024 11:59:04 -0500 Subject: [PATCH 2/3] 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 From 282f991a8e2726100a650d9025840210108faa86 Mon Sep 17 00:00:00 2001 From: Thijs van Loef Date: Sun, 28 Jan 2024 22:05:26 +0100 Subject: [PATCH 3/3] fix linting errors --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad2462c..be69730 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,8 @@ 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` +> If you want to stop the container with a custom stop grace period then run: +> `docker stop --name palworld-server --time 30` ### Kubernetes