From a64dbe08f8aa7f1a138235f9542288a63b31075f Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Mon, 17 Jul 2017 22:37:34 +0200 Subject: [PATCH] Fix dev environment deployment when watching with Gruntfile --- Gruntfile.js | 2 +- scripts/dc-dev.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 scripts/dc-dev.sh diff --git a/Gruntfile.js b/Gruntfile.js index 695b5944..ba2c93e8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -29,7 +29,7 @@ module.exports = function (grunt) { args: ['build', '-t', 'clems4ever/authelia', '.'] }, "docker-restart": { - cmd: "./scripts/dc-example.sh", + cmd: "./scripts/dc-dev.sh", args: ['up', '-d'] }, "minify": { diff --git a/scripts/dc-dev.sh b/scripts/dc-dev.sh new file mode 100755 index 00000000..4d4bff93 --- /dev/null +++ b/scripts/dc-dev.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e + +docker-compose -f docker-compose.base.yml -f docker-compose.yml -f docker-compose.dev.yml -f example/redis/docker-compose.yml -f example/nginx/docker-compose.yml -f example/ldap/docker-compose.yml -f test/integration/docker-compose.yml $*