Skip to content

Instantly share code, notes, and snippets.

@mantono
Last active August 30, 2019 15:18
Show Gist options
  • Save mantono/f45bfb5f6b95a3469c420ea0926ede30 to your computer and use it in GitHub Desktop.
Save mantono/f45bfb5f6b95a3469c420ea0926ede30 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd ~/code/zensum
ALL_CONF=$(echo $(find . -maxdepth 2 -name "docker-compose.yml" -exec ls "{}" \;|egrep -v '(dev-env/|meta/)'|sed 's/^/-f ./'))
cd dev-env &&
docker-compose $ALL_CONF -f docker-compose.yml --project-directory . $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment