From ec0ba67333318e0b18b3556aebf43caf9fd9edf6 Mon Sep 17 00:00:00 2001 From: jowj Date: Wed, 3 Jul 2019 11:28:14 -0500 Subject: [PATCH] Update readme. --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dbc41ab..29fc9d3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,20 @@ # nextcloud-docker -hosting nextcloud for awful.club members \ No newline at end of file +hosting nextcloud for awful.club members + +## changes you should make +all of those instances of 'nextcloud' in the enviornment variables you should definitely change, those are fake. + +## ports +i forward the host port of 8080 to the container. i map port 'cloud.awful.club:80' to port 8080 through nginx. + +## upgrading +for the love of god do not fucking upgrade your nextcloud instance, jesus christ that is a fucking mistake. +- restoring mysql backups is so fucking fraught. +- nextcloud's domain specific knowledge about how to do this is fractured and everywhere. cannot recommend +- i had a straight up better time with just building a new instance, dumping new data into the proper directory, and forcing nextcloud to rescan it. + +## volumes +i prefer to mount persistant volumes (in digital ocean) to be my docker stores. it makes backups harder (volumes aren't backed up through the same mechanism as hosts) but it makes mobility easier; i can move volumes around to any host i want. + +long term though i think this is definitly gonna change.