palantir/docker-compose-rule

use --project-directory option of docker-compose

jb08 opened this issue · 0 comments

jb08 commented

To use docker-compose I run:

docker-compose --project-directory ./infrastructure/containers/my-app/ up

Can I specify the project directory of the Dockerfile?

DockerComposeRule.builder()
        .file("docker-compose.yml")
        .saveLogsTo(s"target/dockerLogs/$cleanScenarioName")
        .build())