From 37ebaf2e19fa375b440a9ad17f734b1989841e48 Mon Sep 17 00:00:00 2001 From: George Hickman Date: Tue, 7 Nov 2023 10:06:04 +0000 Subject: [PATCH] Use docker compose over docker-compose The former invokes the docker plugin instead of the standalone tool, allowing us to target compose v2 more consistently. --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 3b368890..bece0f56 100644 --- a/justfile +++ b/justfile @@ -127,7 +127,7 @@ fix: devenv # Run the grafana stack grafana: - docker-compose up grafana + docker compose up grafana metrics *args: devenv @@ -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 }}