Palworld Game Server(幻兽帕鲁游戏服务器)
Go to file
xiaoqidun 1a72ae8b54
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
docs(更新说明): 添加docker compose
2024-02-14 05:43:48 +08:00
.drone.yml feat(实现项目): 实现项目 2024-02-13 15:33:58 +08:00
.gitignore feat(实现项目): 实现项目 2024-02-13 15:33:58 +08:00
Dockerfile feat(实现项目): 实现项目 2024-02-13 15:33:58 +08:00
LICENSE Initial commit 2024-02-13 15:14:15 +08:00
README.md docs(更新说明): 添加docker compose 2024-02-14 05:43:48 +08:00

palgs

Palworld Game Server幻兽帕鲁游戏服务器

docker

拉取镜像

docker pull ccr.ccs.tencentyun.com/xiaoqidun/palgs:latest

运行镜像

docker run -d -p 8211:8211/udp ccr.ccs.tencentyun.com/xiaoqidun/palgs:latest

docker compose

创建配置

# 项目目录
export project=$(pwd)/palgs
# 数据目录
mkdir -p $project/Saved
chown -R 1000:1000 $project/Saved
# 创建配置
cat > $project/docker-compose.yml << CODE
services: 
    palgs:
        image: 'ccr.ccs.tencentyun.com/xiaoqidun/palgs:latest'
        restart: 'always'
        container_name: 'palgs'
        ports:
            - '8211:8211/udp'
        volumes:
            - '$project/Saved:/home/steam/.local/share/Steam/steamapps/common/PalServer/Pal/Saved'
        environment: 
            - 'TZ=Asia/Shanghai'
CODE