| 14:23 | JSimonGoodall[m] | Hello people, if I work with a docker image is it easy to upgrade later on or is this not a good method for self-hosting long term? |
| 14:24 | symbioquine[m] | It is pretty easy to upgrade with the docker image hosting strategy. It is also the main recommended way of hosting farmOS. |
| 14:24 | JSimonGoodall[m] | awesome! Thank you for the quick reply symbioquine! |
| 14:25 | symbioquine[m] | See farmos.org/hosting/docker/#production-en |
| 14:27 | mstenta[m] | Here are the docs for updating 2.x via Docker: docs.farmos.org/hosting/update.html#upda |
| 14:28 | mstenta[m] | Be sure to read and understand everything in the installing docs too, especially the section on persistence: docs.farmos.org/hosting/install#persiste |
| 14:29 | JSimonGoodall[m] | dipping my toe into Docker, a little hesitant at the moment as it seems complex. |
| 14:29 | mstenta[m] | Generally with 1.x I bind mount the entire webroot directory, so that I have full control over the upgrade process |
| 14:29 | JSimonGoodall[m] | <mstenta[m] "Be sure to read and understand e"> Thanks, will do! |
| 14:29 | mstenta[m] | In 2.x I'm generally only mounting the sites directory in production and relying on the docker image to have the updated code |
| 14:30 | mstenta[m] | Docker can take some time to wrap your mind around, but once you do it simplifies things greatly! |
| 14:31 | mstenta[m] | You can sort of think of it as a VM running Linux with farmOS preinstalled |
| 14:32 | mstenta[m] | And just try be clear J.Simon Goodall that link I posted is for 2.x... I forget if you're experimenting with that or 1.x |
| 14:33 | JSimonGoodall[m] | <mstenta[m] "And just try be clear J.Simon Go"> Trying to work that out |
| 15:07 | JSimonGoodall[m] | ok, I manged to work out I'm with the :dev image so I should be using docker pull farmos/farmos:2 now? |
| 15:11 | mstenta[m] | Ok the :dev is actually 1.x |
| 15:12 | mstenta[m] | If you want 2.x then it's `farmos/farmOS:2.x` |
| 15:13 | mstenta[m] | You can also specify the exact version like: `farmos/farmOS:2.0.0-alpha2` which is what I would recommend right now |
| 15:13 | mstenta[m] | That way it won't change on you... Which 2.x definitely will |
| 15:14 | mstenta[m] | Note that because we are still in alpha, things may require some manual updating between alpha releases |
| 15:14 | mstenta[m] | It's pretty stable... And I'm going to try to include manual update instructions with alpha releases moving forward ... |
| 15:14 | mstenta[m] | Once we're in beta that will be automatic |
| 15:15 | JSimonGoodall[m] | Great, sounds good, will try 2.0.0-alpha2 |
| 15:15 | mstenta[m] | Great! |
| 15:15 | mstenta[m] | Let us know if you find bugs ;-) |
| 15:16 | JSimonGoodall[m] | will do |