aboutsummaryrefslogtreecommitdiff
path: root/push-receive-redeploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'push-receive-redeploy.sh')
-rwxr-xr-xpush-receive-redeploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/push-receive-redeploy.sh b/push-receive-redeploy.sh
new file mode 100755
index 0000000..87fecd5
--- /dev/null
+++ b/push-receive-redeploy.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cd ~/
+docker pull registry.gitlab.com/euandreh/songbooks/prod:latest
+docker-compose stop songbooks_app
+docker-compose up -d --no-deps songbooks_app