.
This commit is contained in:
@@ -12,7 +12,7 @@ if [ ! -f ".env" ]; then
|
||||
fi
|
||||
|
||||
if [ -f ".env" ]; then
|
||||
env $(grep -v '^#' ${PWD}/.env | sed 's/#.*//' | xargs) docker stack deploy -c compose.yml ${PWD##*/}
|
||||
env $(grep -v '^#' ${PWD}/.env | sed 's/#.*//' | xargs -0) docker stack deploy -c compose.yml ${PWD##*/}
|
||||
else
|
||||
docker stack deploy -c compose.yml ${PWD##*/}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user