node-red-docker/exec

6 lines
144 B
Plaintext
Raw Normal View History

#!/bin/bash
DIR=$(dirname "$0")
DATA_DIR="$DIR/data/$(hostname)"
mkdir -p $DATA_DIR
DATA_DIR=$DATA_DIR INSTANCE=$(hostname) docker-compose "$@"