Skip to content

Instantly share code, notes, and snippets.

@mikeywaites
Created August 19, 2017 05:28
Show Gist options
  • Save mikeywaites/35da033e056e1be9446072bf6de4e4f0 to your computer and use it in GitHub Desktop.
Save mikeywaites/35da033e056e1be9446072bf6de4e4f0 to your computer and use it in GitHub Desktop.
#!/bin/bash
export COMPOSE_HTTP_TIMEOUT=86400
DOCKERCOMPOSE="docker-compose"
DOCKERCOMPOSE="docker-compose -f ../api/docker-compose.yml -f docker-compose.yml -f ../other-service/docker-compose.yml"
$DOCKERCOMPOSE up -d api
$DOCKERCOMPOSE up -d other_service
$DOCKERCOMPOSE up -d app
docker attach app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment