Skip to content

Commit

Permalink
Amends order of pixl dc up args so docker compose command works
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaroberts committed Jan 30, 2025
1 parent 0c6e356 commit 30a3e7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cli/src/pixl_cli/_docker_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ def _parse_up_args(args: tuple[str, ...]) -> list:
"""Check up args and define default profile if not set"""
args_list = list(args)
if "--profile" not in args:
args_list.extend(["--profile", "postgres-exposed"])
args_list = [arg for arg in args_list if arg != "up"] + [
"--profile",
"postgres-exposed",
"up",
]
args_list.extend(["--wait", "--build", "--remove-orphans"])
return args_list

Expand Down

0 comments on commit 30a3e7f

Please sign in to comment.