IRC logs for #farmOS, 2021-06-20 (GMT)

2021-06-19
2021-06-21
TimeNickMessage
[10:23:32]<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?
[10:24:25]<symbioquine[m]>It is pretty easy to upgrade with the docker image hosting strategy. It is also the main recommended way of hosting farmOS.
[10:24:59]<JSimonGoodall[m]>awesome! Thank you for the quick reply symbioquine!
[10:25:10]<symbioquine[m]>See https://farmos.org/hosting/docker/#production-environment
[10:27:16]<mstenta[m]>Here are the docs for updating 2.x via Docker: https://docs.farmos.org/hosting/update.html#updating-via-docker
[10:28:19]<mstenta[m]>Be sure to read and understand everything in the installing docs too, especially the section on persistence: https://docs.farmos.org/hosting/install#persistence
[10:29:10]<JSimonGoodall[m]>dipping my toe into Docker, a little hesitant at the moment as it seems complex.
[10:29:35]<mstenta[m]>Generally with 1.x I bind mount the entire webroot directory, so that I have full control over the upgrade process
[10:29:47]<JSimonGoodall[m]><mstenta[m] "Be sure to read and understand e"> Thanks, will do!
[10:29:58]<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
[10:30:30]<mstenta[m]>Docker can take some time to wrap your mind around, but once you do it simplifies things greatly!
[10:31:03]<mstenta[m]>You can sort of think of it as a VM running Linux with farmOS preinstalled
[10:32:15]<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
[10:33:21]<JSimonGoodall[m]><mstenta[m] "And just try be clear J.Simon Go"> Trying to work that out
[11:07:31]<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?
[11:11:21]<mstenta[m]>Ok the :dev is actually 1.x
[11:12:15]<mstenta[m]>If you want 2.x then it's `farmos/farmOS:2.x`
[11:13:17]<mstenta[m]>You can also specify the exact version like: `farmos/farmOS:2.0.0-alpha2` which is what I would recommend right now
[11:13:30]<mstenta[m]>That way it won't change on you... Which 2.x definitely will
[11:14:04]<mstenta[m]>Note that because we are still in alpha, things may require some manual updating between alpha releases
[11:14:47]<mstenta[m]>It's pretty stable... And I'm going to try to include manual update instructions with alpha releases moving forward ...
[11:14:55]<mstenta[m]>Once we're in beta that will be automatic
[11:15:18]<JSimonGoodall[m]>Great, sounds good, will try 2.0.0-alpha2
[11:15:25]<mstenta[m]>Great!
[11:15:32]<mstenta[m]>Let us know if you find bugs ;-)
[11:16:08]<JSimonGoodall[m]>will do