Ok I’m trying to automate this, with a cronjob to rebuild the container after every reboot.
@reboot sleep 300 && /opt/discourse/launcher rebuild app > /root/discord-update.log
It seems to be working, but for some reason the log file get cut after Removing old container
.
Is there some kind of recommended way to get automatic updates working?
I had to wait 300 seconds for the docker daemon to start. With this settings it should take 10 min after reboot to be back on air. Rebuilding takes 5 min with a SSD and 2 vCPU.