Skip to content

Commit

Permalink
Use docker compose over docker-compose
Browse files Browse the repository at this point in the history
The former invokes the docker plugin instead of the standalone tool,
allowing us to target compose v2 more consistently.
  • Loading branch information
ghickman committed Nov 7, 2023
1 parent 8739270 commit 37ebaf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fix: devenv

# Run the grafana stack
grafana:
docker-compose up grafana
docker compose up grafana


metrics *args: devenv
Expand All @@ -148,10 +148,10 @@ docker-build env="dev":
export GITREF=$(git rev-parse --short HEAD)

# build the thing
docker-compose build --pull {{ env }}
docker compose build --pull {{ env }}


# run command in dev|prod container
docker-run env="dev" *args="bash":
{{ just_executable() }} docker-build {{ env }}
docker-compose run --rm {{ env }} {{ args }}
docker compose run --rm {{ env }} {{ args }}

0 comments on commit 37ebaf2

Please sign in to comment.