Skip to content

Commit

Permalink
Fix docker compose command
Browse files Browse the repository at this point in the history
  • Loading branch information
pgentile committed Aug 2, 2024
1 parent 8b5e79e commit 23e9002
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ The Docker image will be located at `pgentile/zucchini-ui`. After that, you can
Docker image and its dependencies with the following command:

```
docker-compose up
docker compose up
```

You can find some pre-built images in [Docker Hub](https://hub.docker.com/r/pgentile/zucchini-ui).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class DockerComposePullTask extends DefaultTask {

@TaskAction
void build() {
List<String> args = ['docker-compose', 'pull']
List<String> args = ['docker', 'compose', 'pull']
Map<String, String> env = project.dockerCompose.env

project.logger.info('Executing Docker Compose with arguments: {}', args)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class DockerComposeUpTask extends DefaultTask {

@TaskAction
void build() {
List<String> args = ['docker-compose', 'up']
List<String> args = ['docker', 'compose', 'up']

if (detach) {
args << "-d"
Expand Down

0 comments on commit 23e9002

Please sign in to comment.