Skip to content

Commit

Permalink
fix docker compose command
Browse files Browse the repository at this point in the history
  • Loading branch information
pinzon committed Jan 24, 2024
1 parent 475c7f7 commit ab836ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
18 changes: 0 additions & 18 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
version: '2'
services:
dev-env:
build:
context: .
working_dir: /app
volumes:
- .:/app
- ~/.aws/:/root/.aws
- ~/.gitconfig:/root/.gitconfig
- ~/.gitconfig.local:/root/.gitconfig.local
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_PROFILE
- AWS_SESSION_TOKEN
- AWS_SECURITY_TOKEN
- SNYK_TOKEN
entrypoint:
- /bin/bash
localstack:
image: localstack/localstack
ports:
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ class LocalstackPlugin {
}

const startCompose = () => {
return exec(`docker-compose -f ${this.config.docker.compose_file} `).then(getContainer)
return exec(`docker-compose -f ${this.config.docker.compose_file} up -d`).then(getContainer)
}

return getContainer().then(
Expand Down

0 comments on commit ab836ac

Please sign in to comment.