Skip to content

Commit

Permalink
Support docker compose v2 (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasvinther authored Dec 16, 2024
1 parent 76b4297 commit 6f34dee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
fi
- name: Start Vault container
run: docker-compose -f scripts/docker-compose.yml up -d
run: docker compose -f scripts/docker-compose.yml up -d
env:
VAULT_TOKEN: my-root-token
VAULT_VOLUME: /tmp/vault/data/vault-volume
Expand Down
2 changes: 1 addition & 1 deletion scripts/start-vault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ docker run -d -u root -v $VAULT_VOLUME:/tmp/vault:rw alpine:latest chown -R 100:

# Start the Vault container
(cd $SCRIPT_SOURCE
docker-compose -f docker-compose-tls.yml up -d)
docker compose -f docker-compose-tls.yml up -d)

# Wait for Vault to startup
sleep 5
Expand Down
2 changes: 1 addition & 1 deletion scripts/stop-vault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
echo "Stopping Vault container"
export SCRIPT_SOURCE=$(dirname "${BASH_SOURCE[0]}")
(cd $SCRIPT_SOURCE
docker-compose -f docker-compose-tls.yml down)
docker compose -f docker-compose-tls.yml down)

0 comments on commit 6f34dee

Please sign in to comment.