幻兽帕鲁 Docker

eye 2024年02月11日 18次浏览

palworld-server-docker

该项目是用于构建「幻兽帕鲁」专用服务器的 Docker 容器,服务器最低配置要求 CPU 4 核、内存 16 GB、存储空间 4 GB,可正常运行于 Ubuntu/Debian、 Windows 10 、macOS 操作系统,微调示例配置文件后,可实现 Docker 一键启动服务。

docker-compose.yml文件,您可以使用它来设置服务器。

services:
   palworld:
      image: thijsvanloef/palworld-server-docker:latest # Use the latest-arm64 tag for arm64 hosts
      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
      environment:
         PUID: 1000
         PGID: 1000
         PORT: 8211 # Optional but recommended
         PLAYERS: 16 # Optional but recommended
         SERVER_PASSWORD: "worldofpals" # Optional but recommended
         MULTITHREADING: true
         RCON_ENABLED: true
         RCON_PORT: 25575
         TZ: "UTC"
         ADMIN_PASSWORD: "adminPasswordHere"
         COMMUNITY: false  # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
         SERVER_NAME: "World of Pals"
         SERVER_DESCRIPTION: "palworld-server-docker by Thijs van Loef"
      volumes:
         - ./palworld:/palworld/