Open tomouchuu opened 1 year ago
This has been helped a little bit in that we can now build the frontend docker image independently of the backend so any frontend updates shouldn't stop the backend server while it's in progress.
While not totally related to this we should re-investigate https://containrrr.dev/watchtower/notifications/ for notifying the discord when there has been an update and also the github webhook too so things like issues, commits, pushes and builds etc. get pushed to the discord.
And done for the watchtower notifications, but made need some better configuration for it.
Also it could be cool to just drop watchtower and instead have a completed docker build just tell the server hey, get an update and do that.
Doubley cool if it could ping all connected clients to inform them, but I probably need to build a small admin panel for that so I can also send messages.
Presently when I push updates here, we build the docker images and then on our production server picks up these images every 5mins, taking down the old containers and putting up new ones.
This breaks any currently running streams so it might be a good idea to send a websocket or something to all connected accounts to inform server is updating / block new streams if possible until it is complete.