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 8, 2023
1 parent f5a6dbb commit 8a92f9e
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 metrics-{{ env }}
docker compose build --pull metrics-{{ env }}


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

0 comments on commit 8a92f9e

Please sign in to comment.