Add update netflux script

This commit is contained in:
Rob Watson 2021-05-19 07:30:02 +02:00
parent 532173bcaa
commit e2761d5cc5
1 changed files with 12 additions and 0 deletions

12
script/updatenetflux Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
#
# updatenetflux - pull and restart containers on remote server
set -e
remotehost=netflux
ssh $remotehost 'cd dev/netflux-internals && git pull --rebase && docker-compose down -v && docker-compose pull && docker-compose up -d --force-recreate'
# invidious requires a local build, managed by a separate script.
updateinvidious