-
Notifications
You must be signed in to change notification settings - Fork 2
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
Design Installation Logic #36
Comments
I would prefer allowing both. Docker might be the 'average' and easiest use case, but it should still support running outside of docker. Running outside of Docker might be useful for low resource systems or people who just don't want to pull docker stuff in, etc. In short, I don't want to make it required to run inside of Docker, but it might be the recommended path for those new to MUTGOS (or impatient). We should be able to design it to support both, even if the out-of-docker variant requires a bit more manual work on the user's part (or just running a script that sets most everything up). For me personally, I'm running inside of CLion (the integrated debugger, valgrind, performance tools, etc are nice) and I wouldn't want to switch to docker and potentially lose some of that or make it a pain. |
Docker isn't very good for development work right now for various reasons. I'm not using it either. I think it will be a good option for running as a service eventually (modulo what I wrote above re: protecting the db). So we should support both. For now I think running it out of its own directory is fine. |
On reflection about this, I think that a good approach for people capable of hosting docker containers will be a volume mounted |
Decide how mutgos should be installed/deployed in production and design and test a suitable build target.
FuzzBall installed itself in /usr/games and several other locations. I always found this awkward but perhaps it's familiar.
Another way is to make a dockerfile deployment the defacto installation style. This is fairly modern but will require some thought around how to store/backup the database - keeping it inside the container itself is too risky as those are usually assumed to be ephemeral.
One thing to be aware of here is dependencies here. mutgos uses a lot of shared libraries including the third_party software.
The text was updated successfully, but these errors were encountered: