Fix dev environment deployment when watching with Gruntfile

This commit is contained in:
Clement Michaud 2017-07-17 22:37:34 +02:00
parent 2242f0b9ce
commit a64dbe08f8
2 changed files with 6 additions and 1 deletions

View File

@ -29,7 +29,7 @@ module.exports = function (grunt) {
args: ['build', '-t', 'clems4ever/authelia', '.'] args: ['build', '-t', 'clems4ever/authelia', '.']
}, },
"docker-restart": { "docker-restart": {
cmd: "./scripts/dc-example.sh", cmd: "./scripts/dc-dev.sh",
args: ['up', '-d'] args: ['up', '-d']
}, },
"minify": { "minify": {

5
scripts/dc-dev.sh Executable file
View File

@ -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 $*