hesk
This is how I updated Hesk to the latest version. There's still more streamlining to do.
- In hesk's admin panel:
- Settings
- Misc
- At the top right check if there's an update.
- Click the link to get the update
- Fork the repo https://github.com/luketainton/hesk-docker
- Clone your fork locally.
- Extract the update zip file into the fork directory so the folders line up (inside the hesk folder)
- Edit the 'dockerfile' with the pertinent info (name, email, url, etc)
- Commit and push those changes to your fork.
- SSH into the server you're going to deploy on
- Clone your fork to the server you plan to deploy on
In the directory of the 'dockerfile' run: (substitute the name:ver as needed)
docker build -t hesk:v1 .
Once it's done, the image file will be in docker's image list.
Now you can use the standard stack file in portainer and replace
image: ghcr.io/luketainton/hesk:latest
with
image: hesk:v1 (or whatever you chose as the name:ver)
Deploy the stack
Once the stack starts you can go to the
http(s)://{address}/install/
and follow the instructions. All needed info is in the stack file.
After the update is done go back to portainer and open a shell in the hesk container.
cd /srv rm -rf install
Done!
- todo: instructions on pushing a container image to gihub,docker hub, etc to skip need to clone locally on the deployment server)
hesk.txt · Last modified: 2023/01/17 19:43 by screwyluie