-
Notifications
You must be signed in to change notification settings - Fork 248
Docker Installation #866
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
Merged
Merged
Docker Installation #866
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…es are placed in separate folders (if configured)
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The purpose of these changes is to facilitate the setup of Hashtopolis with Docker and allow more flexibility in configuration.
So far when installing Hashtopolis, even with Docker, the Installation steps needed to be completed to let it set up the database and create an initial user. With the upcoming changes to the backend the manual setup of a server gets more and more complicated why using Docker gets recommended.
Typically, when Hashtopolis should be set up, all the required information should already be present, so there is not really a need to have some click-through installation, but instead it can just be completely automatically. This is the purpose of this pull request. Either the database connection details can be set in the old conf.php file format or it can be passed in a docker compose via environment variables.
While we strongly recommend to switch to a docker setup in the future, we understand that there still may be users which prefer to run Hashtopolis directly on a server. The same for setups which are already existing which should not be affected by the changes, they should be updated just as usual without having to manually interact with it.
A side effect of this installation procedure changes is the restructuring of the data directories. In order to better separate them from the source code, the path for these can now be configured and can be mounted inside docker without having to create three mount binds.
As this is a fairly complex change, we need to make sure that all use-cases can still run properly and will not break existing installations. Further some documentation updates will also be required so people understand what the new possibilities for installation are.
closes #723