From 13465a968eba6912231c0819419f2bc9f844dc09 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 5 Jul 2018 04:06:04 -0300 Subject: Add VPS scripts and configuration - add scp.sh to cp relevant deployment files; - add docker-compose.yml (encrypted) and push-receive-redeploy.sh; --- push-receive-redeploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 push-receive-redeploy.sh (limited to 'push-receive-redeploy.sh') 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 -- cgit v1.2.3