Skip to content

fix: Rearrange docker compose options#327

Merged
mariotoffia merged 2 commits into
mariotoffia:masterfrom
kosmakoff:fix/compose-cmdline-params-fix
Jul 25, 2025
Merged

fix: Rearrange docker compose options#327
mariotoffia merged 2 commits into
mariotoffia:masterfrom
kosmakoff:fix/compose-cmdline-params-fix

Conversation

@kosmakoff

Copy link
Copy Markdown
Contributor

I noticed that the lib doesn't quite work for me.

First: I have custom docker setup locally, and I have DOCKER_HOST environment variable. This variable is passed as -H parameter to docker, but it does it in wrong place - as a compose option, instead it should be a docker option.

Second: --project-directory is a option of compose command, not of compose up, hence needed to be reordered, too.

This PR fixes both these points.

@kosmakoff kosmakoff marked this pull request as ready for review July 22, 2025 15:38
@mariotoffia

Copy link
Copy Markdown
Owner

Thanks for the PR @kosmakoff !

@mariotoffia mariotoffia merged commit 3836baa into mariotoffia:master Jul 25, 2025
@kosmakoff kosmakoff deleted the fix/compose-cmdline-params-fix branch July 28, 2025 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants