-
Notifications
You must be signed in to change notification settings - Fork 327
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
[Documentation] Offline Install Instructions: Docker #1930
Comments
Is there a reason not to include this content in a file inside the Also, don't the Docker and Git commands remain the same across different OS installs? If so, could we put these instructions into an install script? |
No particular reason for it, that's a good idea. And yes we can make a script that runs all this. We'll need to include a check for the architecture to make sure we run the right version of MongoDB. |
The MongoDB docker image may not run on older CPUs - those that do not support AVX. (edit: yes I have geriatric hardware)
I was able to get Homebrewery running in a docker container with the bitnami/mongodb container. I speculate that the Bitnami container is compiled with different options.
|
Updates README.DOCKER.md and Dockerfile
These instructions are for setting up a persistent instance of the Homebrewery application locally using Docker.
If you intend to develop with Homebrewery, following the Homebrewery application section of this guide is not recommended. Using docker to deploy MongoDB locally for development is not a bad idea at all, however.
Install Docker
Desktop Client (MacOS/Windows)
You can set up the docker engine to start on boot via the Docker desktop UI.
Docker Engine
Manage Docker as a non-root user (highly recommended)
Enable Docker to start on boot (highly recommended)
Run Mongo
If your distribution is running on an arm device such as a Raspberry Pi, you will need to run the arm-built MongoDB v4.4.
Run Homebrewery
Build Homebrewery Image
git clone https://github.com/naturalcrit/homebrewery.git cd homebrewery docker-compose build homebrewery
Set up Configuration
Create the following file at
config/docker.json
Run the Container
Updating the App
Whenever Homebrewery pushes out an update and you want to update your version of the app to include the changes, follow these steps to update the app.
The text was updated successfully, but these errors were encountered: