avivace / ror2-server

Host your own Risk of Rain 2 dedicated server. No technical skills required. Runs everywhere.
https://hub.docker.com/r/avivace/ror2server
GNU General Public License v3.0
169 stars 29 forks source link

Change mods volume to `/home/steam/ror2ds-mods` #26

Closed mchobbylong closed 3 years ago

mchobbylong commented 3 years ago

The latest version of RoR2DS requires write access to ${STEAMAPPDIR}/Mods/enable_mods.txt, which can halt the server if the mods volume, which is ${STEAMAPPDIR}/mods, is mounted on a read-only directory.

Moving the mods volume out of the game data directory may be a better practice.

Also another minor improvement: When the docker container is reused (e.g. using docker-compose to create container but not docker run), the mods directory ${STEAMAPPDIR}/BepInEx should be cleaned first, to prevent deleted plugins from taking effect again.