Skip to content

Instantly share code, notes, and snippets.

@frohoff
Last active December 22, 2022 11:07
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#!/bin/bash -xe
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -y && apt-get -y install git python python-pip
curl -s https://get.docker.com | sh
service docker start
pip install -U docker-compose
mkdir /opt/docker.d
cd /opt/docker.d
for p in $@; do
git clone $p
done
for p in $(ls); do
pushd $p
/usr/local/bin/docker-compose up -d
popd
done
/usr/local/bin/docker-compose ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment