Merge pull request #155 from Dashboy1998/graceful-shutdown-fix

Added setting graceful stop period
This commit is contained in:
Thijs van Loef
2024-01-28 22:06:11 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -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/).

View File

@@ -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