zomboid-dedicated-server icon indicating copy to clipboard operation
zomboid-dedicated-server copied to clipboard

Hey, buddy, can you build a docker container for pterodactyl panel?

Open Shuazijun opened this issue 2 years ago • 10 comments

Like this。 https://github.com/pterodactyl/panel temp eggs。 https://github.com/parkervcp/eggs/tree/master/game_eggs/steamcmd_servers/project_zomboid

Shuazijun avatar Nov 12 '22 13:11 Shuazijun

That sounds like it would be pretty far outside of the scope of this project.

By the looks of the Pterodactyl project, the expectation is on you to configure an "egg" to use this Docker image. The JSON file you sent seems to pretty much cover it; you would only need to change some of the parameters. 🙂

However, I would like to create some K8S configuration files to support installation that way (once the current issues with permissions are dealt with). While creating those files, I may consider also creating an "egg" so that Pterodactyl can be used to deploy the image.

Renegade-Master avatar Nov 12 '22 18:11 Renegade-Master

pterodactyl panel ,There is already an egg, but it seems to have some problems. For example, a server that cannot run normally after some mods are enabled. check link https://github.com/parkervcp/eggs/issues/1958#issuecomment-1312540060

---Original--- From: @.> Date: Sun, Nov 13, 2022 02:24 AM To: @.>; Cc: @.@.>; Subject: Re: [Renegade-Master/zomboid-dedicated-server] Hey, buddy, can youbuild a docker container for pterodactyl panel? (Issue #49)

That sounds like it would be pretty far outside of the scope of this project.

By the looks of the Pterodactyl project, the expectation is on you to configure an "egg" to use this Docker image. The JSON file you sent seems to pretty much cover it; you would only need to change some of the parameters. 🙂

However, I would like to create some K8S configuration files to support installation that way (once the current issues with permissions are dealt with). While creating those files, I may consider also creating an "egg" so that Pterodactyl can be used to deploy the image.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Shuazijun avatar Nov 12 '22 19:11 Shuazijun

The author of this egg told me that the problem can only be solved by oneself at present, and pterosaur officials have no plans to update or maintain it. plan

---Original--- From: @.> Date: Sun, Nov 13, 2022 02:24 AM To: @.>; Cc: @.@.>; Subject: Re: [Renegade-Master/zomboid-dedicated-server] Hey, buddy, can youbuild a docker container for pterodactyl panel? (Issue #49)

That sounds like it would be pretty far outside of the scope of this project.

By the looks of the Pterodactyl project, the expectation is on you to configure an "egg" to use this Docker image. The JSON file you sent seems to pretty much cover it; you would only need to change some of the parameters. 🙂

However, I would like to create some K8S configuration files to support installation that way (once the current issues with permissions are dealt with). While creating those files, I may consider also creating an "egg" so that Pterodactyl can be used to deploy the image.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Shuazijun avatar Nov 12 '22 19:11 Shuazijun

Best thing I can suggest is to modify that egg file to use my image instead: https://github.com/parkervcp/eggs/blob/master/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json#L15

I don't really understand what this section is for. Maybe you can delete it? https://github.com/parkervcp/eggs/blob/master/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json#L25

Then just modify the variables here to match the ones I expose in this image: https://github.com/parkervcp/eggs/blob/master/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json#L32

My variables are laid out in tables in the README of this project.

If you edit it correctly, maybe Pterodactyl can just import the file.

Renegade-Master avatar Nov 14 '22 19:11 Renegade-Master

For #L25 , This is the script that needs to be executed when the server defined by the pterosaur panel is started for the first time after a new installation. The current script is used to install steamcmd and the server.
For #32 ,For variables, these variables are only used at startup, and most variables do not need to be modified.

In addition, the server installation path cannot be modified. It seems that you can only use the directory in the egg, otherwise the folder contents cannot be displayed in the panel after the container is started.

Shuazijun avatar Nov 16 '22 02:11 Shuazijun

Sounds like you already know what needs to be done 🙂

What is stopping you from contributing your changes to the repository you linked?

Renegade-Master avatar Nov 18 '22 18:11 Renegade-Master

How do you solve the problem that the Docker container cannot run mod? i will rebuild docker image,But ,not suppout mod,The error message is consistent with the above。

https://github.com/Shuazijun/ProjectZomboidEgg

Shuazijun avatar Nov 19 '22 08:11 Shuazijun

Well, this image definitely supports mods, so once you change the target image to this one, you should be able to use the environment variables to configure mods.

Renegade-Master avatar Nov 19 '22 14:11 Renegade-Master

maybe ,you can test this config. https://github.com/parkervcp/eggs/issues/1958#issuecomment-1312540060 I guess this may be caused by the container using an account with non root permissions, and the official support personnel did not give specific instructions.

Shuazijun avatar Nov 19 '22 16:11 Shuazijun

i will test root acces docker container,but still crash with my mod config。

Shuazijun avatar Nov 19 '22 18:11 Shuazijun