Skip to content

Commit 25fdff9

Browse files
committed
Fixed dev_local.py to properly shutdown and to use the compose override
1 parent 6ab6835 commit 25fdff9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dev_local.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def check_command_exists(cmd):
1717
def cleanup(signum=None, _=None):
1818
print("\nShutting down Docker Compose...")
1919
try:
20-
subprocess.run(["docker", "compose", "down"], check=True)
20+
subprocess.run(["docker", "compose", "-f", "docker-compose-local-dev.yml", "-f", "docker-compose.override.yml", "down"], check=True)
2121
except Exception as exc:
2222
print(f"Error during docker compose down: {exc}")
2323
sys.exit(0)
@@ -51,7 +51,7 @@ def verify_local_setup_completed():
5151
def start_docker_compose():
5252
print("Starting Docker Compose...")
5353
try:
54-
subprocess.run(["docker", "compose", "-f", "docker-compose-local-dev.yml", "up", "-d"], check=True)
54+
subprocess.run(["docker", "compose", "-f", "docker-compose-local-dev.yml", "-f", "docker-compose.override.yml", "up", "-d"], check=True)
5555
except subprocess.CalledProcessError as exception:
5656
print(f"Failed to start Docker Compose: {exception}")
5757
sys.exit(1)

0 commit comments

Comments
 (0)