JonnyPtn / zomboi

A discord bot for project zomboid multiplayer servers
50 stars 33 forks source link

How to run this when server runs in Docker? (Pterodactyl) #10

Closed Bazimek closed 2 years ago

Bazimek commented 2 years ago

How to run this when server runs in Docker? (Pterodactyl)

JonnyPtn commented 2 years ago

You've got two options if you're running the server in a container:

The bot just needs access to those two folders (and RCON if you want to use those features)

Bazimek commented 2 years ago

So can I just make a link to the files?

JonnyPtn commented 2 years ago

You can do whatever you want to as long as the bot can read the files from the given paths, so for example if you run the server in a docker container and the bot on the host, then you could run docker with the -v command to have those file paths on the host

Bazimek commented 2 years ago

OK thank you I will try it. I run the server in pterodactyls container.