To enable automatic reboots, set AUTO_REBOOT_ENABLED to true. For the reboot mechanism to function, RCON_ENABLED must also be set to true.
Critical Requirement: The Docker container must have a restart policy of always or unless-stopped. If these are not set, the server will shut down during a reboot and require a manual restart.
Configuration Options
AUTO_REBOOT_CRON_EXPRESSION: Defines the reboot schedule using a cron expression. Defaults to 0 0 * * * (midnight daily based on the TZ environment variable). This image uses Supercronic for cron processing.AUTO_REBOOT_WARN_MINUTES: The duration (in minutes) to wait after notifying players before the reboot occurs. Default is 5. Must be greater than 0.AUTO_REBOOT_EVEN_IF_PLAYERS_ONLINE: If set to true, the server will reboot regardless of whether players are currently connected. Defaults to false.
# Example Docker Compose environment snippet
services:
palworld-server:
image: ...
restart: always
environment:
- RCON_ENABLED=true
- AUTO_REBOOT_ENABLED=true
- AUTO_REBOOT_CRON_EXPRESSION=0 0 * * *
- AUTO_REBOOT_WARN_MINUTES=5
- AUTO_REBOOT_EVEN_IF_PLAYERS_ONLINE=false