docker push moefaq/palworld-server-dockerized:tagname
详细方法参详Linux发行版Wiki 或 Docker Docs
下载所需文件:
docker-compose.yml
PalWorldSettings.ini
通过git clone本项目
git clone https://github.com/moefaq/palworld-dedicated-server.git
自行编辑PalWorldSettings.ini 与 docker-compose.yml
确保 PalWorldSettings.ini 的owner及group为1145:1145
-rwxrwxrwx 1 1145 1145 1974 Jan 25 12:41 PalWorldSettings.ini
docker compose up -d
tag | comment | image size |
---|---|---|
latest | steamcmd from Steam Binary Archive, Download Server Application while Container up | |
Repo | steamcmd from Debian Repo,Download Server Application while Container up | |
Binary | steamcmd from Steam Binary Archive, Download Server Application while Container up |
编辑docker-compose.yml文件,在services->server->environment->OPTIONS的Value中写入参数。
如:服务器需设置为Community Server时,该处应为
OPTIONS: "EpicApp=PalServer"
注: PalServer程序及数据已绑定至Docker命名卷中进行持久化,Recreate容器并不会影响相关数据