This script is a Node.js script for upgrading a Gitlab instance run on Docker. (tested with Node.js v14, but should run OK with some lower version - if someone can advise in the comments)
If you followed the Gitlab documentation to launch a Gitlab instance (https://docs.gitlab.com/ce/install/docker.html) by using the following command:
sudo docker run --detach \
--hostname gitlab.example.com \
--publish 443:443 --publish 80:80 --publish 22:22 \