From cea8ed8d95c62ded769eff4a31f94f6218d96a11 Mon Sep 17 00:00:00 2001 From: brabli <67018167+brabli@users.noreply.github.com> Date: Fri, 1 May 2026 15:38:15 +0100 Subject: [PATCH] Update command to work on mac --- compose.yml | 3 ++- justfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/compose.yml b/compose.yml index 428087d..72ab99c 100644 --- a/compose.yml +++ b/compose.yml @@ -5,4 +5,5 @@ services: dockerfile: Containerfile volumes: - ./:/code - network_mode: host + ports: + - "8000:8000" diff --git a/justfile b/justfile index 79ade0f..35b39de 100644 --- a/justfile +++ b/justfile @@ -15,5 +15,5 @@ tests: # Run the local Symfony preview app at http://localhost:8000 serve: - @docker compose run --rm php sh -c "rm -rf dev/var/cache && php -S 0.0.0.0:8000 -t dev/public" + @docker compose run --rm --service-ports php sh -c "rm -rf dev/var/cache && php -S 0.0.0.0:8000 -t dev/public"