Files
palworld-server-docker/docker-compose.yml
Filipe Souza 5b905ab3a2 - Changed the way container handles environment variables;
- Now a env-file is present to make setup more clean to execute;
- Added the grace period to the docker run command;
- Updated the docs to reflect this new suggestions;
2024-01-29 12:34:14 -03:00

14 lines
487 B
YAML

services:
palworld:
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
env_file:
- .env.example
volumes:
- ./palworld:/palworld/