-
-
Notifications
You must be signed in to change notification settings - Fork 102
[docs] Document non-edge installation using Docker Compose #517
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -122,6 +122,16 @@ and requires less prior knowledge about OpenWISP & networking. | |
| git clone https://github.com/openwisp/docker-openwisp.git | ||
| cd docker-openwisp | ||
|
|
||
| If you want to use a ``release`` different than ``edge``, run | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| git checkout <release> | ||
|
|
||
| and set ``TAG=<version>`` in the ``Makefile``. For ``git checkout`` | ||
| you'll need to specify the exact release number (``latest`` won't | ||
| work). | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to the docs, this can be passed as argument: Ideally we want to avoid users messing with the source code as it complicates future upgrades. I also think we need to simplify these additions and provide a real-world example or else we risk complicating the quick start guide. Eg: Disclaimer: I haven't tried this yet (forgive me, I am reviewing many PRs per day and I am trying to reply to as most contributors as possible), please try this if you can.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm testing assuming the latest release will always be the last one in alphabetical order. It works but to be honest I'm not convinced at all that we should suggest this: users could easily forget setting the Why do you think local edits to I would either
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Usually the start operations are set in scripts which start the containers at boot, isn't it? In the end everyone can do it in a different way if they wish but the files that are under version control are not meant to be modified by users. If upgrading is not mentioned we can fix that.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't use any boot scripts for OpenWISP and I don't see why anybody would: since all services in What about the idea of us setting the correct
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No one forbids users to write their own
I don't understand what this means in practice.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Of course not and in principle users with sufficient time and determination can figure out pretty much anything by themselves. But from your comments on Matrix I thought we wanted to make deployment easier for users, right? I am an IT guy and I had some trouble.
It means that on this repo
In this way, after users clone the repo and switch to the desired release with a
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually I think that is not enough because, with
|
||
|
|
||
| 3. Configure: | ||
|
|
||
| Please refer to the :doc:`settings` and :doc:`customization` pages to | ||
|
|
@@ -140,5 +150,8 @@ and requires less prior knowledge about OpenWISP & networking. | |
| If you want to shutdown services for maintenance or any other | ||
| purposes, please use ``make stop``. | ||
|
|
||
| If you don't want to pull new images each time you run ``make start``, set | ||
| ``SKIP_PULL ?= true`` in the ``Makefile``. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here, I believe this can be passed as an argument so rather than advising to edit the Makefile we can adivse to use the argument.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As an alternative to using
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should not change the structure of this document too much now. |
||
|
|
||
| If you are facing errors during the installation process, :doc:`read the | ||
| FAQ <faq>` for known issues. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we suggesting to modify the makefile?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes? Otherwise running
make startas the documentation suggests would still pulledgeimages if I understand correctly. But ideally each github release would have the correctTAGalready set in theMakefile?Not knowing this I had initially installed
edgeand had problems later when wanting to switch tolatest.