homelab/bxl-rpi/deploy.sh

6 lines
228 B
Bash
Executable File

cd ~/homelab/bxl-rpi
cmd=$(find . -type f \( -name "docker-compose.*.yaml" \) | awk '{printf "-f %s \0", $0}' | xargs -0 -I{} echo "docker compose {} --env-file .env up -d")
echo $cmd
eval $cmd
# -name "docker-compose.yaml" -o