diff --git a/README.md b/README.md index 1999ded..7fe772c 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 @@ -97,6 +98,10 @@ 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 592f520..ef5491a 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 # 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