diff --git a/README.md b/README.md index 638bbd37a790b3c873745fd3fc0c32aa1ffa6ea8..db01bbfdcb09f3f2ebbca238e9b1142e708cd796 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,24 @@ export SERVERNAME="community.coops.tech" ansible-playbook -u root discourse_upgrade.yml -i "${SERVERNAME}," -e "hostname=${SERVERNAME}" ``` +## Docker Upgrade + +Every 3 months there is a new version of `docker-ce` released, the steps to upgrade (this could potentially be written as a Ansible Playbook: + +```bash +sudo -i +su - discourse +cd /var/discourse +./launcher app stop +exit +apt-get update +apt-get upgrade +service docker status # check the uptime and that it is running +su - discourse +cd /var/discourse +./launcher app start +``` + ## Discourse Install Ansible Playbooks to install