Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] Keep server files persistent? #63

Open
Happyllama25 opened this issue Aug 24, 2023 · 3 comments
Open

[suggestion] Keep server files persistent? #63

Happyllama25 opened this issue Aug 24, 2023 · 3 comments

Comments

@Happyllama25
Copy link

Every time the server restarts, it downloads the server files from steamcmd, it might be useful for some people to write the files to a persistent volume, and instead of downloading every time, just check if the files are current or not, would result in a faster startup time as there is no waiting time for server downloads. Could also be useful for multiple containers using the same core files as this would save on storage (granted, not a lot, but it is still storage)

@Happyllama25
Copy link
Author

Might be an issue with multiple containers sharing, in that, if one of them updates while others are still running it might affect the running state of the other containers

And possibly a solution to this, clone/copy the persistent volume to the container, and run from there, that way if another container updates the files, upon a restart it would copy the fresh files again and not interrupt

@xuzheliang135
Copy link

I tried to mount the/opt/dst_server directory separately, and it seems to have solved the problem. You can give it a try

@Happyllama25
Copy link
Author

I tried to mount the/opt/dst_server directory separately, and it seems to have solved the problem. You can give it a try

Yep! That looks like it works!

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants